News for hackers. Stuff that matters.
Re:Expectations for generics in Go 1.18 by dgunay on Wednesday October 27, 2021 @10:02PM (#29021483)
Right, I suppose I forgot that a big reason `Result` works well in Rust is the `?` operator.

At the very least, I'll appreciate having some more sugar over loops that are essentially just map/filter.

Re:Expectations for generics in Go 1.18 by tialaramex on Thursday October 28, 2021 @03:33AM (#29023406)
The ? operator wasn't in Rust 1.0

Before Rust 1.12, Rust has a macro, named try! which does a similar thing to its argument although the built-in operator has some fancier features.