Perl: the Markov chain saw | |
PerlMonks |
Re^3: Open to debate on mixins and traits.by bsb (Priest) |
on Jun 03, 2004 at 13:59 UTC ( [id://360148]=note: print w/replies, xml ) | Need Help?? |
I think you and I are on different trips here. I don't
know what the real story is though.
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 Section
Meditations
|
|