3 ms·
Wow, the lexer function is even named "pragmaValue". So Go does have a concept of pragma, not just magic comments. Go developers' stubbornness on forward compat
by xpressvideoz 6y ago
Wow, the lexer function is even named "pragmaValue". So Go does have a concept of pragma, not just magic comments. Go developers' stubbornness on forward compatibility is beyond me.
- bojanz 6y agoTo quote[1] Russ Cox: "C uses #pragma foo for this. Go simply spells #pragma as //go:." https://www.reddit.com/r/golang/comments/hv96ny/qa_goembed_draft_design/fywm1ap/ https://www.reddit.com/r/golang/comments/hv96ny/qa_goembed_d...