Go Time: Golang, Software Engineering cover image

Design philosophy

Go Time: Golang, Software Engineering

00:00

A Type System Is Not to Be Shared

A type system is designed to allow data to flow in and out of a package. When it comes to data flowing into an a p, you have two choices. You could say, i want the api to accept data based on what it is. This is what i would call concrete functions,. It can accept a user, and only a user. That's what it is; thanks to interfaces, we can write poly morphic functions that say, no, no,api will accept concrete data Based on what it can do. And suddenly we found an exception. There are exceptions to everything. I don't really take exceptions between project layers. Agay, i will never let the foundation layer

Transcript
Play full episode

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