16

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.

1

3 Answers 3

20

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.

3
  • 4
    +1 The Head First book is a very good place to start, though I think their ordering differs slightly from yours. Feb 7, 2011 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, 2011 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, 2011 at 17:32
3

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'.
1
  • 1
    +1 for Questpond, did not know that one.
    – KeesDijk
    Feb 8, 2011 at 17:29
2

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.

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