|
|
|
|
|
by dwattttt
90 days ago
|
|
The part I object to is overloading comments, which aren't meant to be load bearing. A tool developed outside the language has no choice but to take something that has no meaning and overload it, but language owners weren't forced to take this route; they could've made directives not comments. In practice, the Go language developers carved syntax out of comments, so that a comment is "anything that starts with //, unless the next characters are go:" |
|
If it would make you happier you can imagine this is part of the spec. It wouldn't change much if it was.