by t0mek · 8mo ago · 0 comments
x = [
123,
456,
789,
];
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).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.
.. if you care only about data communication and have no sense of beauty, aesthetics, rhythm or personality in writing.
x: [
123
456
789
] x = [ 123
, 456
, 789
]