13 Sep, 2014
Strategy design pattern comes under the category behavioural pattern. It is also known as Policy pattern. It defines a family of algorithms and encapsulates each algorithm. The algorithm can be interchanged without changing much code. It bury algorithm implementation details in derived classes. It favours composition over inheritance.
Tags:
See all tags.