AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Problem With Errors in Go
Steve: Errors have become a sort of half fulfilled promise in Go because broadpike was really big on like errors are values. That is why we don't have exceptions or like this separate class of way of handling errors that are values. And I think that allows us to have this laziness around naming it because it's just like, oh, it's a special thing. It's fine if you just always call it or you don't have to call it something something else. But we wouldn't do that with other types of values in Go because it would wind up making art code harder to read. So the difference to me is kind of night and day versus errors.