Strategy Design Pattern in Typescript
Strategy Design Pattern defines a family of algorithms,encapsulates each one, and enables selecting an algorithm from the pool at runtime by using composition over inheritance. Algorithms are interchangeable, meaning that they are replaceable for eac...
csachdeva83.hashnode.dev3 min read