Strategy Pattern and Factory Patttern
May 24, 2024 · 2 min read · Strategy Pattern The Strategy pattern is useful when you want to define a family of algorithms, encapsulate each one, and make them interchangeable. The Strategy pattern lets the algorithm vary independently from clients that use it. Factory Pattern ...
Join discussion