News for hackers. Stuff that matters.
Re:Things Go needs more than generics by da39a3ee on Monday October 04, 2021 @08:57AM (#28746070)
Agreed, except I don't think people should use expect() since its name is a mistake made early on in Rust: people use it to write

expect("something bad we don't expect")

unwrap_or_else(|| panic!(...))

is clear and doesn't suffer from the naming mistake.

There are no comments on this comment yet.