I don't see this as a win for FP. It think it's just an another case of Java adding something that doesn't fit the overall platform design (eg.: lambdas vs checked exceptions) that won't be able to be used ergonomically, that will be quirky, misunderstood by devs used to a completely different set of tools and finally give fp techniques a bad name. This is quite obvious from experience if you think about it - take rxjava or java streams vs something like fs2 - the former are surprising in runtime and filled with footguns or clunky and weird, the latter is an unknown masterpiece. What will happen however is that JEP-aware influencers that inform the Java community will write how FP langs are basically irrelevant now as Java Has That Feature Too (TM)! That in turn will be read by engineering managers who make tech decisions based on the current vibe instead of the merit of the tools in context of the task that is to be solved. The end result will be as it usually is - why use X when Java has that too and nobody was ever fired for choosing Java? It's not that I don't want Java to have new features. I just prefer when the features improve the platform instead of mutating Java into something it's never meant to be.

Aug 30, 2025 · 8:05 PM UTC

5
2
30
Replying to @lukasz_bialy
The end game here is to start an initiative to “upgrade to the latest JDK” and slowly migrate everything to Scala 3 😉
1
1
Replying to @lukasz_bialy
The main win for me is that type classes will be mainstream and explaining Haskell to Java devs will be much easier.
1
10
Replying to @lukasz_bialy
Now Javaer will think Scala is quite easy.
1
Replying to @lukasz_bialy
How will java improve on features that would be useful such as operator overloading for future value types, collection literals, implicit initialisation, enhanced string templates? Those are inevitable features that need a solution, which they've been planning for past 10 yrs.
1
Replying to @lukasz_bialy
Premature is a central feature in the FP 'purist' cult, here its celebration. Sounds like Trump...