2 ms·
FWIW, I have positive views toward FP, but also ultimately decided, after a few years working in Scala, that it goes too far on the FP front. The problem isn't
by mumblemumble 6y ago
FWIW, I have positive views toward FP, but also ultimately decided, after a few years working in Scala, that it goes too far on the FP front.
The problem isn't that the language features Scala introduces are objectively bad. It's that they're in constant tension with the underlying platform. On the one side, you have Scala's FP features harming interop with other JVM languages. On the other hand, you have Scala's dependencies on the Java APIs and type system hindering its efforts to be more functional, and making a lot of things feel way more complicated and tricky to use properly than they do in, say, Haskell.
Kotlin isn't everything I'd want in an ideal world, but it's everything I'm comfortable asking for in the real world.