Back to list
Views:   4.3K
Replies:  1

is there an order to learn Desgin Patterns?


I'm new in Desgin Patterns, and I dont know how to start. is there an order to learn? I try to learn with the first one in the list (Abstract factory) but its complicated for me then I try with Singleton and I think I understand that one. I dont know, can you recommend an order please?

Alberto Chargoy, Jul 29, 2016
Reply 1
I recommend starting with the Strategy pattern.  It was the first pattern I learned, and actually learned it from this site years ago.  It is, IMO, the most fundamental of patterns.  I would recommend going in this order:

1.  Strategy
2.  Factory Method
3.  Abstract Factory
4.  Chain of Command
5.  Decorator
6.  Builder

After those, there are some very useful small patterns:
1.  Adapter
2.  Singleton

Above all, my favorite (arguable) pattern / construct is the Rules Engine pattern.  It's sole purpose is to eliminate those forever-scrolling long blocks of if else if if if else if if else hell.  
Jonathan Hart, Aug 09, 2016
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.