Composition...isn't the same as inheritance?
No. The Yo-Yo problem was one of the primary themes of ECOOP 89, the European Conference on Object Oriented Programming from 26 years ago.
Re:The Duct Tape Programmer
by DownvoteMeToWin on Wednesday February 11, 2015 @01:36AM
(#9031792)
Why not do both?
http://programmers.stackexchange.com/questions/134097/why-sh...
Using multiple inheritance. Lots of It. In fact, no file is over 150 lines long. Composition pattern in full effect as well. I hope it wards off duct tape programmers for life.
> 2015
> multiple inheritance is hard
ducttape pls