News for hackers. Stuff that matters.
Re:Go Replaces Interface{} with 'Any' by Cthulhu_ on Wednesday December 15, 2021 @04:56AM (#29563875)
> all we need is sugar syntax for early return on error -- like more modern languages such as Rust and Zig have -- and Go may finally be pleasant to program in!

Can you provide an example? What's wrong with `return err`? That's a very explicit early return on error, no magic or language features (= added complexity) needed.

There are no comments on this comment yet.