Strategy Design Pattern
The Strategy design pattern is a behavioural pattern that defines a family of algorithms, encapsulates each one, and makes them interchangeable. This pattern allows a class’s behavior to be selected at runtime.
Key Concepts
Strategy Interface – Defi...
designpatterns.hashnode.dev3 min read