
Reflection and meta programming
Go Time: Golang, Software Engineering
The Importance of Struct Tags in Annotations
The language didn't really grow to have annotations. And as a result, it could have a pretty crazy long struct tag that was thrown on something and it looked kind of wonky because you're like, you know, this isn't really code. It's like this metadata but it's providing a lot more than what it seemed like at first clients. So that's much benefit to the type safety that's makes sense, doesn't it? Yeah. I also even found like when I was doing this, I probably use struct tags more than I should have in that.
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.