3 ms·
It's only redundant in languages that make it redundant, like you mentioned C at the end - it's the new line that's redundant there (or only for readability), i
by OJFord 3y ago
It's only redundant in languages that make it redundant, like you mentioned C at the end - it's the new line that's redundant there (or only for readability), it's the semicolon with the 'end' semantics.
- unilynx 3y agoIn this specific case it's not redundant in C - without the commas, the strings would be merged together.
- OJFord 3y agoExactly, that's what I said? 'In this specific case' though? It would be news to me (not that I've used it since university!) that they're ever non-semantic?
- hnlmorg 3y ago> It's only redundant in languages that make it redundant Yeah, I did say "several" not "all". There is very little benefit in new languages making terminator tokens necessary when followed by LF. We are long past the point of needing to optimise language syntax for parser efficiency.