Tag archives for strategy pattern and single responsibility
Strategy Design Pattern and Single Responsibility and Open-Closed Principles
Strategy design pattern is widely implemented to achieve interchangeable algorithmic behavior at runtime. As we know strategy pattern uses aggregation or composition instead of inheritance. It is a behavioral design…