Why composition is superior to inheritance as a way of sharing code
Inheritance is often used as a tool for code reuse, however it is flawed. This post describes its origins and how composition is a better alternative
Tags: solid, oop, designpatterns