Sunday, 13 May 2007

THE STRATEGY PATTERN

The Strategy Design Pattern

The Strategy Design Pattern fundamentally consists of a way to separate an algorithm from their host, and enclosing algorithm into a different separate class. startegy patten does allow you to switch the algorithm that you where using at any time of your design.
Some of the avantages that strategy pattern allow you to do is to keep track of the behaviours that you want your object to perform.



No comments: