Go Time: Golang, Software Engineering cover image

Event-driven systems

Go Time: Golang, Software Engineering

CHAPTER

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.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner