3 ms·
All of it? For a specific example, try doing any functional programming in Java and compare it to pretty much any other language.
by adgjlsfhk1 5y ago
All of it?
For a specific example, try doing any functional programming in Java and compare it to pretty much any other language.
- 41b696ef1113 5y agoI 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.
- aphexairlines 5y agoJava's not helpful for FP, but that's an odd example to bring up in a discussion about Go, which is also statement-oriented.
- azth 5y agoIncidentally, golang is much worse for FP.
- kaba0 5y agoIt 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.