I don't see why Perl needs interfaces in any form, they're just there to satisfy the compiler in statically typed languages, aren't they?
I think of roles as reuseable partial classes. So they add generic behaviour, customized by the state accessors they use (or metadata). I'm more going from the paper than A12, though.
In reply to Re^3: Open to debate on mixins and traits.
by bsb
in thread Open to debate on mixins and traits.
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |