Go’s Error Handling Is Perfect, Actually
Spend any amount of time in programming circles, and just as the sun rises and falls, you are certain to hear someone complain about error handling in Go. These complaints are, anecdotally, rarely well thought out suggestions on what error handling could or should be like in a language like Go, but often merely boil down to “I don’t like having to look at it”.
You’ll mainly see people complain about having to litter their apps with if err != nil, how they feel it makes the code verbose, and how ...
Read more at blog.verygoodsoftwarenotvirus.ru