News for hackers. Stuff that matters.
Re:Go 1.8 Release Notes by majewsky on Thursday February 16, 2017 @05:18PM (#13664091)
> it's impossible to tell at a glance how the function is actually working. You have to parse out 90% garbage just to get to the details of what's really happening.

After a while, you just learn to ignore the `if err != nil` and get on with your life. I mean, sure, it would still be nicer to have an abbreviation, but it's not like Go code is 90% `if err != nil` (as critics always try to frame), and when I read Go code, I'm most definitely not spending most (or any) of my time stumbling over them.

Re:Go 1.8 Release Notes by prodigal_erik on Thursday February 16, 2017 @05:50PM (#13664359)
It's not 90%, but it seems like it has to be more than 50% because not only does every call require an error check but f(g(x), h(y)) has to be broken down and given three error checks.
Re:Go 1.8 Release Notes by stouset on Thursday February 16, 2017 @06:33PM (#13664626)
Yeah. In my experience it's way closer than 90% than 50%. Even with one argument, function chaining is absurdly annoying. You can't just call f(g(x)), because you have to pull out the error check and do it manually.

And most of your code winds up doing error checks because if any call in the stack under a particular function produces an error, it usually winds up having to bubble the entire way up the stack.