4 ms·
Go doesn't really have error handling.
by thatswrong0 5y ago
Go doesn't really have error handling.
- hactually 5y agoLiving up to your username eh?
- thatswrong0 5y agoIf 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.