Re:Checked exceptions: Java’s biggest mistake (2014)
by dpc_pw on Tuesday September 15, 2020 @01:02PM
(#24483593)
In Rust you can do `Result<T, dyn SomeErrorInterface>` as well, which makes it able to express everything exactly like Java can. It's just Rust community generally doesn't bother with the taxonomies of errors. You either get a concrete list, or "any error".
[ Parent
| on HN ]
There are no comments on this comment yet.