:mega: Share your thoughts on Kotlin 2.1 features!...
# announcements
a
📣 Share your thoughts on Kotlin 2.1 features! Have you tried guards, multi-dollar interpolation, or non-local break/continue? Let us know how they’re working for you, and help shape the evolution of Kotlin. 👉 Take the survey: https://kotl.in/s2ay9o
kodee pleased 18
🙌 1
r
The survey page mentions
Ability to actualize expect by Java but use the same FQN
but there is nothing about this feature in the docs: https://kotlinlang.org/docs/whatsnew21.html
m
It's an experimental extension for expect-actual matching. The full proposal is here: https://github.com/Kotlin/KEEP/blob/kotlin-to-java-direct-actualization/proposals/kmp-kotlin-to-java-direct-actualization.md We're leaning towards leaving it as experimental in 2.2, so we've decided not to announce it widely yet
thank you color 2
d
I would have preferred better pattern matching . Feels like Java has better pattern matching now. Looking at fsharp for inspiration feels like there is plenty more we can do. E.g. match in properties of a data class. Or active patterns