Hacker News new | past | comments | ask | show | jobs | submit login

I was nodding along happily until I watched the composition is better than inheritance linked video and it suggested the abomination of passing a "base" class instance to the save method of a more specific class instance to give the specific class access to functionality on the "base" class. There may be a solid argument for composition over inheritance but this bastardization of functional and OO programming ain't it.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: