AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
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.