A Gang of Four behavioral design pattern that defines a family of interchangeable algorithms, encapsulates each one, and lets client code select which algorithm to use at runtime without changing the code that uses it.
Facts
Core PrincipleEnables selecting an algorithm at runtime from a family of algorithms. 2 Connections
Associated With
Erich Gamma, Pioneers Erich Gamma co-authored the 1994 Design Patterns book that named and catalogued the Strategy pattern among the original 23.
In Field
Sources
1. Wikipedia: Design Patterns (book)
Wikimedia FoundationLead sectionQuote, Lead section
Design Patterns: Elements of Reusable Object-Oriented Software (1994) is a software engineering book describing software design patterns.
View the Source 2. Strategy pattern, Wikipedia
Lead section
In computer programming, the strategy pattern (also known as the policy pattern) is a behavioral software design pattern that enables selecting an algorithm at runtime.
In Group: Software Design Patterns, Lead
In computer programming, the strategy pattern (also known as the policy pattern) is a behavioral software design pattern that enables selecting an algorithm at runtime.
View the SourceReader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.