News for hackers. Stuff that matters.
Re:The history of C# and TypeScript with Anders Hejlsberg | ... by vips7L on Sunday February 01, 2026 @12:53PM (#46847916)
Checked exceptions are proper errors as data. There is no difference between Result[T, E] and T throws E. The same people that just rethrow as RuntimeException would call unwrap() on Result and panic. The main problem with _Java_'s implementation of checked exceptions is that they're not fully in the type system because of Java's weak type system. That is solvable with a strong type system though, like in Scala or Swift.

There are no comments on this comment yet.