The strategy pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Useful when a client object needs to dynamically pick from a set of related algorithm classes at runtime.
Details
Publisher
Piyush Kumar
Domain
Engineering & Architecture
Category
Architecture
Type Group
Docs & Guides
Type
Article
Best For
Developer
Skill Level
Intermediate
Access
Free
Topic
The strategy pattern: a family of interchangeable algorithms for runtime selection