Hacker News new | past | comments | ask | show | jobs | submit login
Celebrating Kotlin 2.0: Fast, Smart, and Multiplatform (jetbrains.com)
15 points by snafu109 24 days ago | hide | past | favorite | 3 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





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: