3 ms·
I would say that Rust does it pretty well with Option<>. You can define the logic when the Null should or can happen and you can avoid writing a lot of Error ma
by nicce 3y ago
I would say that Rust does it pretty well with Option<>. You can define the logic when the Null should or can happen and you can avoid writing a lot of Error matching boilerplate, while still have a condition when something fails.
- hypeatei 3y agoYeah, Rust makes the handling of "None" values explicit, even if you want to ignore it with `unwrap()`