Re:Notes on a Smaller Rust
by 0815test on Thursday July 18, 2019 @11:52AM
(#20471078)
> Most error conditions need to be propagated and the action in flight aborted.
That's exactly what the '?' operator does. It's just as ergonomic as Java exceptions, and it doesn't hide the places where errors can be returned and the execution flow can be diverted.
That's exactly what the '?' operator does. It's just as ergonomic as Java exceptions, and it doesn't hide the places where errors can be returned and the execution flow can be diverted.