u/mcmacker4in r/Kotlin • Recommends
On “STOP throwing Errors! Raise them instead”
#kotlin#errorhandling#uniontypes
100K subscribers • 61 videos on Hallway
Advanced. Deep dive for people who know the field.
20K views1 year ago2 recommendations
Programming languagesSoftware designKotlinLanguage design and type systemsFunctional programming
Michail Zarečenskij explores a proposal to generalize Kotlin's nullability model into restricted union types for rich error handling.
Get ready for what’s next — join us at KotlinConf 2026 👉 kotl.in/conf26-ytd Recording brought to you by American Express. americanexpress.io/kotlin-jobs Kotlin's nullability model is one of its core features. In this talk, we’ll explore how this model can be generalized to restricted union types specifically designed for handling error cases. Additionally, we’ll discuss how errors can currently be represented in Kotlin, covering approaches such as nullable types, exceptions, sealed hierarchies, and Result-like classes.What people say. Recommended for understanding the future of error handling and union types in Kotlin.
u/mcmacker4in r/Kotlin • Recommends
On “STOP throwing Errors! Raise them instead”
u/Radiokot1in r/Kotlin • Recommends
On “Better ways to handle exceptions in Kotlin: runCatching and Result<T>”
u/PentakilIin r/Kotlin • Mentions
On “From Exceptions to Rich Errors: Rethinking Error Handling in Kotlin I Michail Zarečenskij”