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

The OO story generally falls apart once you go outside of the module/library, and want to actually treat objects like generic objects, and have new custom behaviour for some types of objects.

Either you end up with 'scary' enums, or with dynamic_cast and 'scary' null pointers.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: