News for hackers. Stuff that matters.
Re:I’m joining the Go team at Google by bsdetector on Friday September 23, 2016 @10:09AM (#12564715)
Also "_" means the programmer chose to ignore the errors that he knew about at the time.

There's no way to know whether the programmer actually considered all the error cases (they are generally very poorly documented in Go code), and there's no way to know if the called function added errors at some later date. If it's though an interface, there's no way to know that all implementations have the same errors.

It's really an 80s-era approach to error handling, and that's bad.

There are no comments on this comment yet.