Strategy Pattern: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://en.wikipedia.org/wiki/Strategy_pattern =Internal= * Design Patterns =Overview=")
 
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


=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 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.