Posts Tagged

behavioral pattern

Design Patterns: Strategy

The Strategy design pattern belongs to Behavioral family. It helps us to change behavior at runtime. The definition from Gang of Four book is following. We use Strategy pattern when we need to hide the implementation of an algorithm. When we have many related classes which differ in their behavior providing a way to configure…

Read More