3 ms·
Why would that be incompatible with Kotlin? There are a few ways I can see this working.
by 4RealFreedom 4y ago
Why 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