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.
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.
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".
http://mostlyerlang.com/2014/11/19/049-supervisors/
starting at 28:45 although you might want to listen to the whole podcast