Sunday, March 28, 2010

Strategy design pattern

Strip the changeable method in a class to a hierarchy class.
ie changing a 'has-a' relationship to an 'is-a' relationship
Overview :
Coding :

No comments:

Creative Commons License
The Elusive Bug by Rajesh Kazhankodath is licensed under a Creative Commons Attribution-Share Alike 2.5 India License.