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

I agree, but I would state that it's easier to do encapsulation and modularity in OOP than procedural style.

I prefer the functional method, though. In my opinion it's much easier to understand and much more flexible, but many programmers dislike that flexibility.



"Procedural style" is a strawman though, corroborated by years of people thinking C and FORTRAN are the only procedural languages out there.

Most OOP languages are still procedural and many "traditional" procedural languages provide support for data abstraction.


The syntactical sugar provided by languages that support objects is the only real improvement over something like ADTs, but I think it's a noteworthy improvement.




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

Search: