Re:Learning Rust in 2020
by eximius on Tuesday May 12, 2020 @08:41PM
(#23162046)
In the beginning, I find it is best to avoid the escape hatches that lead to the runtime errors I assume you're talking about (i.e., `unwraps` and such). Eventually you'll learn when it's appropriate to use them.
https://github.com/mre/idiomatic-rust https://speakerdeck.com/mre/idiomatic-rust-writing-concise-a... < fun basic idiom examples (don't necessarily take the use of the failure crate as idiomatic, but the rest of the methodology seems to be)