Strategy Pattern: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
=Overview= | =Overview= | ||
The strategy design pattern lets you define a family of algorithms, encapsulate each algorithm (called a strategy) and select an algorithm at runtime. | The strategy design pattern lets you define a family of algorithms, encapsulate each algorithm (called a strategy) and select an algorithm at runtime. The strategy pattern is related to [[Functional Programming#Behaviour_Parameterization|behavior parameterization]]. |
Latest revision as of 22:51, 22 March 2018
External
Internal
Overview
The strategy design pattern lets you define a family of algorithms, encapsulate each algorithm (called a strategy) and select an algorithm at runtime. The strategy pattern is related to behavior parameterization.