Go Time: Golang, Software Engineering cover image

How to make mistakes in Go

Go Time: Golang, Software Engineering

00:00

Go for Guides and Interfaces Is an Advanced Case, Johnny.

interfaces is one of those things that people really struggle with coming to Go. I do expose a decent amount of interfaces, but I also write a lot of local, unexplored interfaces inside of another function or something. Just inline because I want to check, does it have this method on it? And if so, I don't need some big interfaces. Somewhere else, I can just do it right there in line. One downside to that technique is you can hide things inside the function.

Play episode from 48:59
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