Celebrating Kotlin 2.0: Fast, Smart, and Multiplatform (blog.jetbrains.com) 15 points by snafu109 2y ago ↗ HN
[–] esafak 2y ago ↗ I am excited about the new language features that K2 is going to enable, like guards, generalized algebraic data types, union types for errors.https://www.youtube.com/watch?v=tAGJ5zJXJ7w [–] karmakaze 2y ago ↗ Union Types? That's got me excited too:> 26:00-28:00 https://youtu.be/tAGJ5zJXJ7w?si=W7wBuwDArVgtIcN5&t=1560Alas "No union types in general, only for errors". Still a great milestone."Deep immutability" in active research [–] esafak 2y ago ↗ https://youtrack.jetbrains.com/issue/KT-68296/Union-Types-fo...
[–] karmakaze 2y ago ↗ Union Types? That's got me excited too:> 26:00-28:00 https://youtu.be/tAGJ5zJXJ7w?si=W7wBuwDArVgtIcN5&t=1560Alas "No union types in general, only for errors". Still a great milestone."Deep immutability" in active research [–] esafak 2y ago ↗ https://youtrack.jetbrains.com/issue/KT-68296/Union-Types-fo...
3 comments
[ 2.8 ms ] story [ 15.5 ms ] threadhttps://www.youtube.com/watch?v=tAGJ5zJXJ7w
> 26:00-28:00 https://youtu.be/tAGJ5zJXJ7w?si=W7wBuwDArVgtIcN5&t=1560
Alas "No union types in general, only for errors". Still a great milestone.
"Deep immutability" in active research