Re:Using unwrap() in Rust is okay
by jeffrallen on Monday August 08, 2022 @03:55PM
(#32390246)
Maybe if Rust code wasn't so hard to get working at all, then more of it would work correctly (including checking errors instead of giving up and unwrapping).
[ Parent
| on HN ]
not sure what you're referring to, but yes having a first iteration of code with unwrap here and there, and then a second one with proper error handling is a viable strategy. the "loudness" of unwrap makes it super easy to notice any leftover in code review