Re:I’m joining the Go team at Google
by pmarreck on Friday September 23, 2016 @12:12PM
(#12565668)
Yeah, that's what I thought. And I've also been there, done that. Is there basically some willful blindness around this issue with Go fans, or something? Or a lack of experience doing code? Or am I completely missing something?
Nonsense.
I just ignored an error and it compiles fine. Go check the return type of Println:https://golang.org/pkg/fmt/#Println
tl;dr, it's very easy to accidentally ignore errors in functions that are side-effecting or modify parameters. Been there, done that.