Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I can't help but notice the amount of design patterns that are out there.

Does anyone have suggestions on an order I should learn them in? Or should I pick and choose them at random?

The only one I know, so far, is singleton.

share|improve this question

closed as primarily opinion-based by MichaelT, gnat, Corbin March, Jimmy Hoffa, Dan Pichelman Sep 10 '13 at 19:08

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

    

3 Answers 3

Dofactory has a very nice organization of design pattern, including the UML diagrams as well as sample code. They also have Frequency of use scale, which identifies how popular the pattern is. So, I'd suggest you to browse their webpage.

share|improve this answer

I wouldn't be so concerned about learning design patterns in a specific order.

In my opinion, here are the first two steps that you should take when learning design patterns:

  1. Read 'Head First Design Patterns'.
  2. Watch the 'Questpond Videos'.
share|improve this answer
    
+1 for Questpond, did not know that one. –  KeesDijk Feb 8 '11 at 17:29

When you only consider the gang of 4 design patters internally at my company we have a design pattern training that has the following order, it works pretty well. Sometimes you need one to learn the other and vica versa.

Day 1

  • Factory Method
  • Builder
  • Composite

Day 2

  • Prototype
  • Observer
  • Facade
  • Bridge

Day 3

  • Abstract Factory
  • Proxy
  • Chain of responsibility
  • Visitor

Day 4

  • Singleton
  • Command
  • State
  • Strategy

Extra:

  • Adapter
  • Decorator
  • Flyweight
  • Mediator
  • Iterator
  • Momento
  • Template Method
  • Interpreter

But when you want to learn them I would just start with the Head First Design pattern book (not just really my opinion, but its also seems to be the standard answer for these kind of questions) and follow that with the gang of four design pattern book. Those two together should give you all the order you need.

share|improve this answer
3  
+1 The Head First book is a very good place to start, though I think their ordering differs slightly from yours. –  FrustratedWithFormsDesigner Feb 7 '11 at 18:27
1  
Head First series are impossible to read (at least I can't) because every page is loaded with different kinds of fonts/pictures/text layout/ text size. It's like a comics. –  Sorantis Feb 8 '11 at 14:17
    
@Sorantis agreed the head first series is not for everyone, but in general they seem to give enough context to make people remember the material better. I always tell people to first borrow a copy or go to google books to get a feel for the books books.google.com/… –  KeesDijk Feb 8 '11 at 17:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.