Re:Announcing Rust 1.13
by solidsnack9000 on Friday November 11, 2016 @01:25AM
(#12928450)
I think this is the most meaningful and valuable thing about it: `Result` gives you a type-level indication of the need for error handling, but in a manner that is sufficiently polymorphic and friendly to handle that it doesn't end up like Java's checked exceptions (which could be seen as a special sub-system of the type system).
[ Parent
| on HN ]
The problem with checked exceptions in Java is that many don't design them properly, not everything needs to extend Exception, there is a reason why RuntimeException is there since the early days.
Yes, even the JDK is to blame for misusing checked exceptions.