Strategy Pattern

The Strategy Pattern buries the implementation details of an algorithm behind some interfacing code, allowing for the algorithm to be swapped out later. The Strategy Pattern allows for increased flexibility to change code later.

Similar to [[Template Mathod Pattern]].

#pattern #software