Re:Declined Proposal: A built-in Go error check function, “try”
by apta on Tuesday July 16, 2019 @11:39PM
(#20456211)
> So I wouldn't ever type that function call without seeing the function definition (in my editor or wherever else I found the API reference).
How often do you handle or explicitly ignore the error returned by fmt.Print? This is just proof that golang error handling is error prone.
But I agree, the fact that Go allows this is bad, imo. It would be better if you had to explicitly suppress errors, even with something like this "_ = doThing()" just to make it harder to miss.