SE Radio 644: Tim McNamara on Error Handling in Rust
JUST™ Creative feedburner.com
This is what was read here when it was published. SE Radio no longer carries it in what it publishes now.
Tim McNamara, a well-known Rust educator, author of Rust in Action (Manning), and a recipient of a Rust Foundation Fellowship in 2023, speaks with SE Radio host Gavin Henry about error handling in Rust. They discuss the errors that Rust prevents, what an error is in Rust, what Tim classes as the "four levels of error handling," and the lifecycle of your journey reaching for them.
McNamara explains why Rust handles errors as it does, how it differs from other languages, and what the developer experience is like in dealing with Rust errors. He advocates best practices for error handling, what Result is, the power of Rust Enums, what the question mark operator is, when to unwrap, what Box really means, how to deal with errors across the FFI boundary, and the various Rust error-handling crates that you can use to give you more control.
More ways to use this
Open on another device
Scan to open this page. Your saved notes and account access are not included.
Guess who's hosting a radio station in GTA 6?