|
|
|
|
|
by stared
416 days ago
|
|
Rationale: in the most popular modern langugues it is # or //. In JS (well, its why we have JSON), it is //. In YAML, it is #. Moreover - semicolon is a natural character used in comments (unlike // or #). It inferes with our human parsing. |
|
I don't get the second point: why is that a problem if a semicolon appears in a comment? From what I understand, comments run until the end of the line, so a second semicolon after the first does nothing.