|
|
|
|
|
by karmakaze
1244 days ago
|
|
I dunno if I'd say that. At least using recent versions of Java and some F#, I find the latter much nicer, but don't do things so extremely differently. It's just more concise and less keyboard typing when refactoring. Having worked with Rails codebases I tend to avoid magic when not needed. The best effect is using FP, then going back to what you used before and adopting more FP style: single assignment to local vars, immutable datastructures, less imperative control flow, etc. |
|
- Discriminated unions and pattern matching
- Global type inference
- Tail call optimisation
- Syntactic sugar for monadic code (computation expressions)
Java is more “FP” than it used to be, but it is still not minimum viable FP