Go Time: Golang, Software Engineering cover image

How to make mistakes in Go

Go Time: Golang, Software Engineering

00:00

How Common Is This Problem With Custom Error Types?

Johnny, have you ever run into this issue? Perhaps it's my approach, general approach. I tend to prefer a slice of errors over a custom type containing multiple errors. Yeah, I've run code that allowed for methods to be called on the nil version of something. And it was just to kind of usually it's a no op or some default behavior. But is that too magic, do you think these days for go?, Mark says.

Play episode from 10:13
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app