Delegating OOPs
Delegation
One of the pillars of OOP, it help objects to interact with each other. But, there is a dichotomy in delegation, it can be achieved following 2 different strategies.
One is Composition and other is Inheritance. But, why we tend to use inhe...
chandraji.hashnode.dev2 min read
Maxi Contieri
Software Engineer
Great article.
Remember composition is dynamic while inheritance is static