views:

187

answers:

8

I am trying to read "Gang of four" design patterns book, but I feel I need something more practical and short - one that can get me thinking about real design problems. GoF seems more on the theoretical side.

I must add that I really prefer to see Python examples - Java/C# would be ok too.

+9  A: 

"Head First Design Patterns" is a popular, er, popularisation.

itowlson
Beat me to it. :P
Kyle Trauberman
Me too - I was actually on Amazon getting the image
Rafe Lavelle
Same here... :)
nico
I just read the reviews on Amazon - this does sound like what I want: I wish they had something for Python too.
Martha Yi
OP: The fact that this was the first book that many of us thought of means that you should buy it. :)
Kyle Trauberman
Yes. Thats a given:)
Martha Yi
totally agree !
Raymond
A: 

Head First Design Patterns is a good book to learn Design Patterns.

Kyle Trauberman
+2  A: 

I read Design Patterns In Ruby as my first introduction into design patterns (without knowing too much Ruby as well) and thought it was great. It is definitely less formal, but is still extremely well-written.

Jergason
A: 

A really good and fun to read book for beginners: http://www.amazon.com/First-Design-Patterns-Elisabeth-Freeman/dp/0596007124

nico
A: 

A beginner at programming or a beginner at design patterns? If the former, I wouldn't worry about design patterns just yet. I've heard good things about Head First, but GoF was my first exposure to design patterns and I still think it's the best. Particularly because I don't program in any of the languages they teach which forced me to think more abstractly.

Josh Einstein
No, I am not a beginner programmer :) But I am now getting to write a lot of code that talks about Adapters, Interfaces, Inversion of control. etc. etc.
Martha Yi
A: 

I have found the wikipedia entries very handy. The starting page is here: Design pattern (computer science)

Check out each pattern for implementations in multiple languages. Most have Python examples. Very worth while investigating.

ram
A: 

The "classic" and accepted standard for 15 years has been Design Patterns: Elements of Reusable Object-Oriented Software by Gamma et al

See http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612/ref=sr%5F1%5F1?ie=UTF8&s=books&qid=1260254855&sr=8-1-spell

All others derive from this.

Mawg
This is the GoF book the original poster is looking for an alternative to.
superoptimizer
+1  A: 

This book by Shalloway & Trott is definitely a good, gentle introduction.

http://www.amazon.com/Design-Patterns-Explained-Perspective-Object-Oriented/dp/0321247140/ref=sr%5F1%5F4?ie=UTF8&s=books&qid=1260258457&sr=8-4

superoptimizer
That was my introductory book some 5 years ago.
StackedCrooked