
Design philosophy
Go Time: Golang, Software Engineering
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
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.