Composition vs. Inheritance

Often I hear or read that inheritance is evil, but why? This article tries to explain the difference between the two, and shows that these patterns are both useful when applied the right context:

Composition vs. Inheritance: How to Choose? by Steven Lowe: https://www.thoughtworks.com/insights/blog/composition-vs-inheritance-how-choose


Next up


Leave a Reply

Your email address will not be published. Required fields are marked *