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

All of it? For a specific example, try doing any functional programming in Java and compare it to pretty much any other language.


Java's not helpful for FP, but that's an odd example to bring up in a discussion about Go, which is also statement-oriented.


I am far from a Java guy, but that seems like a poor example. Functional programming is not in the wheelhouse of Java. In the same way, it would be unfair to criticize Haskell for its object-oriented style.


Incidentally, golang is much worse for FP.


It really is not that bad, and it is at least possible, both to incorporate it partly (stream api, immutable objects, especially with records) or go full-on with vavr.




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

Search: