Re:My Struggles with Rust
by jimktrains2 on Sunday May 07, 2017 @09:44AM
(#14285418)
Yes, exceptions are better than return codes, but I would argue Result types are better than exceptions. Checked exceptions in Java have their issues. Exceptions in C++ are odd beasts (though that's getting better, they're still not checked and therefor basically anything that isn't noexcept can throw them (oh wait! noexcept can throw! it just crashes immediately)).
[ Parent
| on HN ]
There are no comments on this comment yet.