Re:I want off Mr. Golang’s Wild Ride (2020)
by throwaway894345 on Thursday April 28, 2022 @11:19AM
(#31193560)
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!
[ Parent
| on HN ]
Re:I want off Mr. Golang’s Wild Ride (2020)
by steveklabnik on Thursday April 28, 2022 @11:38AM
(#31193846)
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.
Re:I want off Mr. Golang’s Wild Ride (2020)
by eweise on Thursday April 28, 2022 @03:32PM
(#31197153)
I'll take checked exceptions over Go's multiple return values error convention any day.
Re:I want off Mr. Golang’s Wild Ride (2020)
by throwaway894345 on Thursday April 28, 2022 @11:50AM
(#31194033)
Agreed! For something as pedestrian as error handling, it's always surprising to me how much it seems there remains to explore.