Hacker News new | ask | show | jobs
by bluegatty 66 days ago
Kotlin is a few tweaks on top of Java, most of which aren't relevant anymore, and it's not strictly better in most ways other than saving a few keystrokes (and preference).

It's a little bit nicer to write but that's almost irrelevant.

It also comes with some runtime cruft.

In reality there is no Kotlin without Java, which means most projects end up a bit 'dual'; every single Kotlin project we've had (except Android) folded back onto Java. Even Scala wasn't worth it, though that's a different question.

1 comments

There definitely is Kotlin without Java, and you can compile Kotlin code for use in jvm, ios/ipados/macos, android, wasm/js, and native.
Technically yes, but I don't think it could exist without Java.
You can't even read a file in Kotlin without Java.
Not true today anymore, but definitely true for a lot of its history.
Really? I know there's kotlin.io.* but afaik that doesn't work on KNative or KJS.
thats pretty much what I mean, yes.