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

I'll disagree with your popular answer (it's the most upvoted right now). There is a certain degree of fashion, however pure functions and immutable values make data parallelism extremely easy, almost trivial. Our hardware has almost hit the ceiling on single core performance, so easy parallelism is the way to make use of this.

I do believe that object orientation as a concept has value. A lot of concepts map easily to objects by nature. However the 90s OOP fashion, exemplified by Java, lead to horrible lasagna code. Especially if the underlying space didn't map straightforwardly to the concept of an object, then you're adding a layer of abstraction that can lead to misunderstandings.



Purity helps a lot but it's far from making automatic parallelism trivial. See for example how few FP languages do it. Not many.


You mean how few enforce it? About as many as enforce OOP. It's more of a strong suggestion, like using objects in Java.




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

Search: