News for hackers. Stuff that matters.
Re:Go Error Handling Proposals by thatswrong0 on Wednesday June 09, 2021 @03:29AM (#27445217)
If you think

type error interface { Error() string }

and then

if err != nil { return err } 10000x times

counts as a legitimate error handling strategy, you either have an extremely low bar set or haven't used Go much. Then again, people seem to be okay with Golang allowing nil pointer exceptions to exist in 2021, so maybe the bar is underground.

There are no comments on this comment yet.