Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

Especially in games, inheritance doesn't work all that great and had been replaced by composition via components a long time ago where each component implements one specific aspect or feature of a game object and can be (more or less) freely combined with other components.


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

Search: