logoalt Hacker News

mseepgoodlast Tuesday at 9:03 PM1 replyview on HN

> sometimes a decision is better than nothing

Not in this case. The most popular Go proposal/issue of all times was 'leave "if err != nil" alone': https://github.com/golang/go/issues?q=is%3Aissue%20%20sort%3...


Replies

thaynelast Tuesday at 9:36 PM

If go had started out having different syntax for error handling, would these same people request that it change to what go currently does? Or is this just resistance to change, and wanting to keep what they are used to?

I suspect it is the latter.

show 1 reply