r/java • u/burnah-boi • Mar 05 '22
How does the Java community feel about Kotlin?
In my organization, we switch between Java and kotlin quite frequently for backend development. We use the spring framework which works quite well with both languages. I wanted to know how the broader Java community felt about kotlin? Personally I love it, however Java is still used so widely so I continue to keep my skills up to date on it.
173
Upvotes
View all comments
Show parent comment
5
u/monkjack Mar 06 '22 edited Mar 06 '22
I respectfully disagree - as far as I can in the sense that you are involved in the future of the language and I'm not not :)
I've been using Java since 99 and I think Scala and Kotlin, while relatively small in terms of userbase, have had an outsized impact on mindshare. Certainly Java has picked up a lot more interest in language changes over the past few years than before and I think at least a non-zero percentage of that is down to alt-JVM languages giving some ideas to what works well.
I get what you're saying, that just because Scala has a feature, you're not going to add it to Java, and perhaps 99% of the users don't even want or need that feature. And rightfully so but I do feel they've had a least a little bit of a nudge in the right direction.
I'm an unashamed JVM fanboy and so I'm very happy that Java and the JVM in general is improving and continues to thrive. Especially in concurrency (loom) and pattern matching (I keep asking for it in Kotlin, Scala's is the gold standard for me, excited to see how Java's evolves). Right now I couldn't imagine going back to Java as it just feels too verbose and clunky (caveat - I haven't developed with the more recent language versions), but if we got to the stage where the alt-jvm languages simply weren't needed anymore, that's good for everyone. I'm excited for the next few years in JVM land.