Ok, verbosity I agree. That doesn't have anything to do with being easy or not, I think. I might be wrong. Verbosity can be a pain. Even after reading Rob Pike's article on "Errors are values" [1], I agree with you that the solution is still verbose.
Those numbers you gave, even when you said they're estimates, still seems like made up numbers. I've never used Elixir, so if you could point me to an example so I can be more informed, I'll be grateful :) but also I've read some Go programs (not many, I'm not an expert) and it didn't seem to me that 70% of the code is dedicated to error handling.
Note that I'm not defending Go's position on error handling, I'm asking about error handling in general, what does people mean with "easy way to do it".
The Erlang/Elixir way can be hard to appreciate because it's not just a very different way of handling errors, it's a completely different way to architect your application. The following tutorial only takes about 45 min to go through, but you'll get a taste for how error handling (across distributed process, at that) works in Elixir: https://howistart.org/posts/elixir/1
I wonder how long it will be until Rob Pike decides that "Handling error values should be enforced by the type system".
Re:Why Tech Startups Should Look at Go
by engineerDave on Thursday January 15, 2015 @10:45PM
(#8897155)
here is a podcast where they cite error handling stats of C++ vs Erlang.
http://mostlyerlang.com/2014/11/19/049-supervisors/
starting at 28:45 although you might want to listen to the whole podcast
With go, every line that calls a function needs to check to see if there was an error. And handling that error takes at least another line or two.
Unless there's a better way that I'm missing.