
Design Patterns
Behavioral – Strategy Design Pattern
Strategy pattern is also known as Policy Pattern. We define multiple algorithms and let client application pass the algorithm to be used as a parameter. Strategy pattern is a Behavioral design pattern that defines a family of algorithms, encapsulates each algorithm, and makes the algorithms interchangeable within that family. Let’s see how to implement the […]
August 18, 2020