Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Design Patterns Considered Harmful

by Steve_p (Priest)
on Dec 20, 2001 at 23:05 UTC ( #133566=note: print w/replies, xml ) Need Help??

in reply to Design Patterns Considered Harmful

I definitely agree with that. I was one of those junior developers who picked up that book. All I could see were the patterns. What newbie wouldn't want to say, "I created a new Singleton Abstract Factory." ?!? It seemed as if Patterns started sprouting from every orifice.
Being slightly older and wiser, I have now learned to apply the patterns correctly. Now using patterns simply is a guide, I've been able to cut my OO design time significantly. Rather than sometimes going into a very deep think to solve a design problem, or worse yet, designing myself into a corner, I can usually, and rather quickly, come up with the pattern that will properly apply to the system I'm designing. Its also helped with coming up with designs that strongly encourage code reuse.
I highly recommend Design Patterns, but the reader must must have a lot of common sense or a good amount of experience to get the full affect of this book. Reading it because "Patterns are kewl!" will likely lead to poorly designed programs and heartache when you try to fix them.

Replies are listed 'Best First'.
Re: Re: Design Patterns Considered Harmful
by Voronich (Hermit) on Dec 21, 2001 at 05:36 UTC
    I really hate to say it this way. (Ok, maybe not.) But the approach that's worked best for me has been to immerse myself in all the "literature" (a term I use VERY loosely) then just forget it all and do design.

    Going back and looking later, the organization looks familiar.




Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://133566]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2023-12-09 18:44 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (38 votes). Check out past polls.