Hacker News new | ask | show | jobs
Celebrating Kotlin 2.0: Fast, Smart, and Multiplatform (blog.jetbrains.com)
15 points by snafu109 754 days ago
1 comments

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

Union Types? That's got me excited too:

> 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