Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Re: Implementing a Mixin Class

by flyingmoose (Priest)
on Jun 02, 2004 at 13:42 UTC ( [id://359426] : note . print w/replies, xml ) Need Help??

in reply to Re: Implementing a Mixin Class
in thread Implementing a Mixin Class

Exactly, I'm usually stricken with confusion when I see the latest in OO design or features being pushed -- design patterns were sometimes obvious but sometimes overblown -- often just ways of making bad design more politically correct. Ah, yes, it's a Drunk Hippy Inspector Pattern! Or when they cover for feature-creep or inheritance-tree-sprawl (aspect-oriented development). Mixins are just another, when we really have to ask, are we just coding this to thump our chests or is there a simpler, easier, way? Usually there is.

If it looks like I'm bitter, then yes, I am -- I'm tired of "architects" without a clue as to how to write maintainable code getting paid 3x as much as the folks that actually do real work, and all the time they are making easy things harder to maintain, not easier. I went to school thinking software architecture was the coolest thing ever. Reality has taught me otherwise. The need for new OO-isms (mixins, the need to quote GoF daily, AOD, reflection, etc) are usually a coverup for a basic design flaw somewhere in the program. Keep it simple!

Replies are listed 'Best First'.
Re^3: Implementing a Mixin Class
by Happy-the-monk (Canon) on Jun 03, 2004 at 11:20 UTC

    I understand your anger, brother.
    Think TIMTOWTDI about it, even if you got the feel of nonsense coming up: Let everybody build their own stylish seven-wheel-bycicle because innovation sometimes needs to walk the strangest paths: It might even lead to something that will do you good in the end.
    You're allowed to snigger at all the mishaps on the way =)

    Cheers, Sören