Hacker News new | ask | show | jobs
by thatswrong0 1833 days ago
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.