News for hackers. Stuff that matters.
Re:Declined Proposal: A built-in Go error check function, “try” by wybiral on Tuesday July 16, 2019 @11:13PM (#20456084)
The nice thing about a statically typed language having standard golint and gofmt is that code is generally self documenting. 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).

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.

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.