Profile cover photo
Profile photo
Julien Oster

Post has shared content
"The lack of first-class functions is the major reason why there are so many “design patterns” in Java. Once you have first-class functions, you will need almost none of the design patterns."

But this article also explains that completely pure functional programming languages (yes, Haskell) have similar problems.

I especially like the point about static analysis essentially implicitly using Monads anyway, taking away the (complicated) burden to use them from the programmer.

I was very aware of OO's problems, but as always the "truth" about reasonable programming language approaches seems to lie somewhere in between.

Still, I very much hope it lies a little bit more towards the functional side ;)
Add a comment...
Wait while more posts are being loaded