Hacker News new | ask | show | jobs
by throwaway894345 1516 days ago
Of course. I wasn't trying to imply anything to the contrary. But given the prevalence of exceptions, if Go's error handling is performing on par or better, then it seems pretty ridiculous to characterize Go's error handling as "shit". Don't worry Steve, I think Rust's error handling is pretty cool!
1 comments

I do agree that exceptions feel like the worst of the various bits of the problem space, to me, but just to be extra clear about it, I have never written a significant amount of Go, and therefore don't really have a very strong opinion about its error handling.

And error handling is such a huge and interesting problem space! I've long wondered about why I didn't like checked exceptions in Java but do like errors as values, for example.

I'll take checked exceptions over Go's multiple return values error convention any day.
Agreed! For something as pedestrian as error handling, it's always surprising to me how much it seems there remains to explore.