Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I completely agree with you when it comes to UI although the key here is that OOP is syntactic sugar, it shouldn't be the overarching pattern. I think of it as augmenting types, or prototype-based OO.

And when it comes to games, nope; entity patterns with composable behaviours added to dumb objects is far more productive that traditional OOP, as you need many objects with slightly different behaviours/abilities/types. Composition over inheritance is key here.



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

Search: