Hacker News new | ask | show | jobs
by DownvoteMeToWin 4149 days ago
Currently rewriting every single line of UI code a pile of duct tape programmer spewed out over the span of two years. Writing functional tests so I know when I break the UI. Documenting everything. Hitting all deadlines.

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

1 comments

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.

https://en.wikipedia.org/wiki/Yo-yo_problem

I didn't see that he wrote "as well". lol.