skepller@lemmy.world to Programmer Humor@programming.devEnglish · 1 day agoTOMLlemmy.worldimagemessage-square110fedilinkarrow-up1538arrow-down19
arrow-up1529arrow-down1imageTOMLlemmy.worldskepller@lemmy.world to Programmer Humor@programming.devEnglish · 1 day agomessage-square110fedilink
minus-squarepanda_abyss@lemmy.calinkfedilinkarrow-up84·1 day agoIf we’re adding comments to json, can we add canonical support for trailing commas?
minus-squarepanda_abyss@lemmy.calinkfedilinkarrow-up33·1 day agoOh, a trailing comma? That’s a tuple.
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up10·1 day agoYeah when the call_func((a,)) is the way to go it is a newbie pain for sure. Remember banging my head on that one.
minus-squarepanda_abyss@lemmy.calinkfedilinkarrow-up5·1 day agoI’ve spent hours on that, and debugging missing commas between string literals. Even on separate lines you’re not safe from implicit concatenation.
If we’re adding comments to json, can we add canonical support for trailing commas?
Found the python guy!
Oh, a trailing comma? That’s a tuple.
Yeah when the call_func((a,)) is the way to go it is a newbie pain for sure. Remember banging my head on that one.
I’ve spent hours on that, and debugging missing commas between string literals. Even on separate lines you’re not safe from implicit concatenation.