Design Patterns #1: Strategy Pattern
Before starting learning strategy pattern, let's first understand the problem that this pattern solves.
Suppose we are building an e-commerce application, where users can pay using multiple methods:
abhinandanmishra1.hashnode.dev3 min read