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

My biggest take from this :

> When you declare a class that’s a kind of item, it locks you into that structure much more tightly than if you just have member elements. It’s nice to be able to use virtual functions and that kind of thing, but the tradeoffs are just too much.

Aka, OOP is a bad design even when you take the benefits of its virtual method system.

Stick with struct and functions.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: