4 ms·
Since then, Java has incorporated a lot of the syntactic sugar from Kotlin. Not all of it; they're still very judicious about trying to keep the language tight.
by jfengel 1y ago
Since then, Java has incorporated a lot of the syntactic sugar from Kotlin. Not all of it; they're still very judicious about trying to keep the language tight. But things like the lambda features have even made it down into the JVM (which is actually incredibly stable).
Kotlin's one big advantage is having avoided the "billion dollar mistake" of null pointers. Or at least, mitigated it. But in my opinion it's not sufficient to install a whole new language into your stack.
- vips7L 1y agoOne day we’ll get nullable types: https://openjdk.org/jeps/8303099 https://openjdk.org/jeps/8303099 I believe I read on the mailing list it’s implemented here: https://github.com/openjdk/valhalla/tree/lw5 https://github.com/openjdk/valhalla/tree/lw5