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

OOP is especially good for making UI toolkit. If you look at GTK+ and Win32 closely, you’ll notice that they all sport some kind of a homegrown class system, complete with inheritance and polymorphism.

It’s popular to dunk on OOP and its concepts nowadays, but I think that languages that straight away shun them because “OOP sucks” are an example of their authors overreacting to OOP’s dominance back in 1990s-early 2000s and tendencies to shove OOP into every nook and cranny, with a notion that if you don’t do it, or do not enough of it, your solution is inferior.

Holy hell. Linux kernel is object-oriented. Because it’s damn convenient for a lot of things.



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

Search: