3 ms·
> Go cannot solve the single problem everyone immediately has with the language... What? Survey says 13% mentioned error handling. And some people actually do
by hu3 1y ago
> Go cannot solve the single problem everyone immediately has with the language...
What? Survey says 13% mentioned error handling.
And some people actually do prefer it as is.
https://go.dev/blog/survey2024-h1-results https://go.dev/blog/survey2024-h1-results
- judofyr 1y ago13% mentioned that error handling was the biggest challenge with using Go. This was not a multiple choice question, but you had to pick one answer. We don't know how many people would consider it challenging. (This is typically why you have a 1-10 scale per choice.)
- joaohaas 1y agoThis doesn't mean the rest of the 87% enjoy it. Honestly, I'd rather the next survey included a question "are you satisfied with the current error handling approach"
- 9rx 1y agoI'm as satisfied with the error handling approach as I am for the email address handling approach, the time of day handling approach, the temperature handling approach, etc. But that doesn't imply that I am satisfied. I do believe there is a lot of room for improvement. Frankly, I think what we have is quite bad. Framing it as something about errors misses the forest for the trees, though. How would I respond to your query without misleading the reader?
- 827a 1y agoThat survey specifically asked for the "biggest" challenge. One could make a compelling argument for the survey answer "learning how to write Go effectively" being an extremely bad option to put on a survey, because it at-least partially catch-alls every other answer. Its no wonder it got first place.