Re:Rust should not have provided `unwrap`
by user249 on Friday July 15, 2022 @01:09PM
(#32110374)
When I was learning Rust, unwrap felt like cheating
[ Parent
| on HN ]
Re:Rust should not have provided `unwrap`
by grumpyprole on Friday July 15, 2022 @01:11PM
(#32110411)
It is! :)
Perhaps the name could have made it more obvious: e.g. "get_or_fail"
It could be named .ordie() like php idiom from olden times.