Rich Errors: Nice upcoming feature in Kotlin 2.4 #KotlinConf
13
38
517
27K
60
Download Image
@joreilly Finally, Kotlin has union types! And I am happy that they are embracing Rust-like errors over try-catch
@joreilly I knew it! 👉`static void fun() throws IllegalAccessException`
@joreilly Somewhere in JDK mailing lists I saw this as a proposal to enrich Java's `switch` statement 👀
@joreilly Specify val types! а то гонево какое-то. user?. как nullable