Navneet Pandey
  • Book Nook
  • Good Reads
  • Tags
  • Quick Chat

behavioural-patterns

A collection of 1 post
design-patterns

Strategy Pattern

The Strategy pattern allows you to swap out different algorithms or strategies without changing the overall behaviour of the program. This pattern is part of behavioural design pattern. The Strategy pattern enables following the Open/Closed principle by promoting abstraction, encapsulation and loose coupling between interchangeable behaviours/algorithms and the
16 Aug 2023 2 min read
Page 1 of 1
Navneet Pandey © 2026
  • Reader Acknowledgment
Powered by Ghost