Exploring Design Patterns:
Strategy
So let’s say you have a class or a family of classes and you want to implement some new behavior to the class, how would you go about doing that?
I don’t like inheritance, it leads to tightly coupled code and a nightmare to maintain over time. If you...
mspasenovski.hashnode.dev4 min read