Hacker News new | ask | show | jobs
by masklinn 361 days ago
> The reason its like that is that Go philosophically is very much against the idea of annotations and macros, and very strongly about the idea of a clear upfront control flow

Annotations have no control flow, they just attach metadata to items. The difference with struct tags being that that metadata is structured.

1 comments

Yes, apologies I was not very clear here: What I meant to say is that Go avoids annotations because it invites magic frameworks and other types of metaprogramming that do the work for you behind the scenes.