Go Time: Golang, Software Engineering cover image

This will blow your docs off

Go Time: Golang, Software Engineering

00:00

Is It a Good Idea to Just Return an Error?

Johnny: It would be so nice if we could just return an error and sort of, like I understand we can control all that, but he could also control it and or return an error. What about the exit code? Because a big part of programs, as we've talked about already is the exit code. Johnny: If you want to write a quick script, it is easier to do that just having global state. But only in those simple cases, otherwise they don't want to overdo it.

Play episode from 47:01
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