Unless you ignore all returned values:
func Something() (a, bunch, of, stuff) {
// stuff
}
...
_, _, _, _ = Something()
Something()
Both are valid.Thanks for that.
I would have though that in a language all about error checking this would not be allowed:
Something()
But there you go, I've learnt something new about Go.
In that sense Go is still forcing the programmer to handle the error and it is the programmer who is deciding to ignore it.
I can see making the programmer do nothing more than mark the error as ignored still forces the programmer to think about the error and as such adds some value.