3 ms·
I agree with you on the stacktrace. The libraries that provide context via wrapping are good but woefully underused. > Error handling in Go is tedious and ther
by Huggernaut 6y ago
I agree with you on the stacktrace. The libraries that provide context via wrapping are good but woefully underused.
> Error handling in Go is tedious and there's no visible indication if you forget to do it or don't do it properly so sometimes it goes AWOL
This is also true, though I would expect teams to fail on linting so I don't share the concern. Is there an equivalent for unchecked exceptions (honest question)?
I'll take your word on the performance being better for exceptions, but I'm less convinced that Go's performance is a significant sticking point for the language.