News for hackers. Stuff that matters.
Re:JEP draft: Exception handling in switch by bedobi on Friday April 19, 2024 @01:50PM (#40089908)
using RunCatching is inadvisable, it catches too much and can break lots of things in hard to detect ways

https://github.com/sksamuel/tabby/blob/0fa37638712efd6b059f2...

(though I recommend using the Arrow library, it has great types for fixing all the countless foot guns Kotlin devs insist on adding to the language and native libraries)

There are no comments on this comment yet.