Y
Hacker News
new
|
ask
|
show
|
jobs
by
skirmish
576 days ago
Rust does "errors as values" pretty well, see [1]. You can manually handle them if you want, or just apply the '?' operator to auto-propagate them out of the function. In both cases, it is obvious that there was an error handling needed.
[1]
https://doc.rust-lang.org/book/ch09-02-recoverable-errors-wi...
1 comments
wesselbindt
576 days ago
I didn't know that! Every time I hear about Rust my opinion of it grows brighter. Thanks for sharing this!
link