I'm loving trailing commas 😁 and looking forward to trying out functional interfaces. I'm a bit surprised though that contracts and inline classes still seem to be experimental . Does anyone know what the status is with those two? (Does Kotlin wait for Java to define an inline class format in project Valhalla to be as compatible as possible??)
2 years ago
I'll see if I can find the thread, but if I recall correctly contracts isn't coming until at least 1.5 - they're still trying to understand its place on a conceptual level and exactly how it will play with the type system
I do hope inline classes become stable soon, though! The only issue I've had with them so far is just kotlinx.serialization - everything else works great.