Monday, March 11, 2013

Design Patter Tutorial 1

It has been two sprints now that I started to re-kindle the fire of enhancing my programming skills.

Kudos to my friend, Anton Van, who shared me this link: http://www.newthinktank.com/videos/design-patterns-tutorial/

What did I learned?
1. Strategy Pattern
- Define a family of algorithm, encapsulate each one and make them interchangeable. The Strategy Pattern lets the algorithm vary independently from clients that use it.
Fig 1.0 Family of Algorithm


















Fig 2.0 Algorithm vary independently

Fig 3.0 Base Class





































































I promise to keep updating you with my good finds. So keep visiting my blog.
Cheers!