3 ms·
What feature do you use Kotlin for that does not exist in modern Java (21+)?
by akkad33 2y ago
What feature do you use Kotlin for that does not exist in modern Java (21+)?
- lblume 2y agoComplete by-default null safety is a big point, extension functions are just nice, smart casts, proper data classes and operator overloading, and simple expressive functional stuff like range syntax and reified generic types for inline functions. In general the Kotlin language feels more usable, yet less bloated (wrt the actual code, not the features ofc).
- akkad33 2y agoThose are actually very good features. I guess null safety will come to Java with project Valhalla.