4 ms·
> struct tags greatly reduce the boilerplate code required to map fields to fields. Are you somehow under the impression that Go is unique in having a terse wa
by masklinn 1y ago
> struct tags greatly reduce the boilerplate code required to map fields to fields.
Are you somehow under the impression that Go is unique in having a terse way to map fields to fields?
> It’s really quite novel once you understand it.
It's the opposite of novel, putting ad-hoc annotations in unstructured contexts is what people used to do before java 5.
- reactordev 1y agoNo, not at all, but considering C has no such thing, I’ll take it.