| ▲ | t0mek 3 days ago | |||||||||||||
Only tangentially related (but hey, it's HN) - I'm so happy about the support/requirements for trailing commas in the modern language syntax:
It makes editing such a list so much easier. Also, the commit diffs are cleaner (you don't need to add comma to the last element when appending a new one). | ||||||||||||||
| ▲ | echohack5 3 days ago | parent | next [-] | |||||||||||||
The oxford comma debate is so annoying because it clearly has nothing but advantages. Removing commas from a delimited list does nothing to resolve ambiguity, whether lexicographically or syntactically. It's so useful as a delimiter and anti-ambiguity machine, that you don't even need spaces for it to work! See CSV or Japanese. | ||||||||||||||
| ||||||||||||||
| ▲ | Izkata 3 days ago | parent | prev | next [-] | |||||||||||||
My very first programming language doesn't use commas: | ||||||||||||||
| ▲ | black_knight 3 days ago | parent | prev [-] | |||||||||||||
I like this: | ||||||||||||||
| ||||||||||||||