#rustlang hot take: We should rename .unwrap() to .or_panic(). (And .expect() to .or_panic_with().) "Unwrap" is a terrible name for the panicking function, especially since we also have things like .unwrap_or() and .unwrap_or_default() which never panic.
If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/Mara/statuses/115575199307766755 on your instance and quote it. (Note that quoting is not supported in Mastodon.)
RE: https://hachyderm.io/@Mara/115575199307766755
I don’t know Rust, like at all. But I think I get what’s going on here and I *love* a mindset like this.