skepller@lemmy.world to Programmer Humor@programming.devEnglish · 6 hours agoTOMLlemmy.worldimagemessage-square54fedilinkarrow-up1258arrow-down14
arrow-up1254arrow-down1imageTOMLlemmy.worldskepller@lemmy.world to Programmer Humor@programming.devEnglish · 6 hours agomessage-square54fedilink
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up32arrow-down1·6 hours agoChuck in comments and I’m on board.
minus-squarepanda_abyss@lemmy.calinkfedilinkarrow-up50·6 hours agoIf we’re adding comments to json, can we add canonical support for trailing commas?
minus-squarepanda_abyss@lemmy.calinkfedilinkarrow-up18·5 hours agoOh, a trailing comma? That’s a tuple.
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up6·5 hours 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-up2·5 hours agoI’ve spent hours on that, and debugging missing commas between string literals. Even on separate lines you’re not safe from implicit concatenation.
minus-squareAnafabula@discuss.tchncs.delinkfedilinkEnglisharrow-up4·3 hours agoJust make JSON5 the new official version and I would be ok
Chuck in comments and I’m on board.
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.
Just make JSON5 the new official version and I would be ok