4 ms·
I’ve been working almost exclusively with JVM languages for 6 years but have probably written less than 1000 lines of Java in that time. Almost all my work has
by orobinson 4y ago
I’ve been working almost exclusively with JVM languages for 6 years but have probably written less than 1000 lines of Java in that time. Almost all my work has been in Kotlin and Scala.
Given the clear pattern of Java decline and Kotlin growth combined with the near seamless interoperability between Java and Kotlin, I expect Kotlin will slowly but surely take over during the next 10 years.
- pulse7 4y agoThe "added value of Kotlin" is too small to rewrite all those systems from Java to Kotlin. AND: When JVM will introduce new features like value/inlined types - which are not compatible with Kotlin design - there will be problems with Kotlin on JVM... One more reason to stay away from it...
- 4RealFreedom 4y agoWhy would that be incompatible with Kotlin? There are a few ways I can see this working.
- pulse7 4y agoKotlin's data classes can not be mapped to Java's inlined/value classes which will be identity-less. They will need to find workarounds. And the Java's inlined/value classes are not finalized yet so you don't know for sure what can be done until it is finished...
- 4RealFreedom 4y agoKotlin has been adding functionality with no signs of stopping. Saying you won't use a language because there's additional functionality that hasn't been finalized isn't really an argument. I use Kotlin and Java but my goto is Kotlin. It's a pleasure to write in. I have complete faith in JetBrains.
- wiseowise 4y agohttps://kotlinlang.org/docsjvm-records.html https://kotlinlang.org/docsjvm-records.html