News for hackers. Stuff that matters.
Re:Go Error Handling Proposals by thatswrong0 on Tuesday June 08, 2021 @08:08PM (#27442696)
Go doesn't really have error handling.
Re:Go Error Handling Proposals by hactually on Tuesday June 08, 2021 @08:43PM (#27442919)
Living up to your username eh?
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.