2 ms·
It's so you can do this in code: my_things = [ "thing_1", "thing_2", "thing_3", ] And not have to juggle commas when you add a new end thing.
by robertlagrant 2y ago
It's so you can do this in code:
my_things = [
"thing_1",
"thing_2",
"thing_3",
]
And not have to juggle commas when you add a new end thing.
- croes 2y agoThat’s why I use leading commas.
- Someone1234 2y agoThe first line cannot have a leading comma resulting in inconsistency then too.
- lloeki 2y agoThat's for where the language parser allows you to have have leading commas i.e line continuations without a trailing comma. And some, amusingly, don't.
- sixothree 2y agoYou’re clearly missing the entire point. The mismatched number of commas in either orientation requires you to alter unrelated fields when making modifications.
- croes 2y agoI rarely change the beginning of the query more likely the end.