Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Friday April 17, 2009
09:34 AM

Mixins Considered Harmful

[ #38819 ]

I know many folks are tired of the "X Considered Harmful" writeups, (I should do a "Considered Harmful Considered Harmful" writeup?), but there's an interesting one by Michele Simionato, a moderately well-known Python programmer. He's written a multi-part series on this.

Interestingly, one proposed solution he's put forward is implementing traits (roles) in Python. He argues that while mixins seem fine for smaller systems, they start to become unwieldy in larger systems. That was one of the driving issues which led to the Refactoring with Roles talk I gave.

My only disappointment is that he seems focused on primarily on eliminating multiple inheritance rather than inheritance in general, but then, I think I've displayed my bias here.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.