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

> OOP won against functional because OOP is easier to understand and leads to more maintainable code.

OOP as we know it today, which is not what the inventor of the term had in mind, likely won because it was easy to add it to C in a manner compatible with low-level optimizations that were critical in application code at the time, and less so now.

I dispute that one style is inherently easier to understand than the other, though each has certain problem domains where it maps particularly cleanly.



Slightly tangential, but Single Assignment C is well suited to functional programming




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

Search: