4 ms·
Really well put! Like, you wouldn't try for FP in Java, it's better suited for OOP, much of the time.
by coyotespike 5y ago
Really well put! Like, you wouldn't try for FP in Java, it's better suited for OOP, much of the time.
- int_19h 5y agoThere are certainly bits and pieces associated with FP that are just as handy in Java. Discriminated unions with pattern matching, for example. Which is why those languages are also getting that stuff. C# already has matching (but not unions), and Java is on the way there.