626
TOML (thelemmy.club)
you are viewing a single comment's thread
view the rest of the comments
[-] panda_abyss@lemmy.ca 97 points 2 months ago

If we’re adding comments to json, can we add canonical support for trailing commas?

[-] Valmond@lemmy.dbzer0.com 31 points 2 months ago
[-] panda_abyss@lemmy.ca 44 points 2 months ago

Oh, a trailing comma? That’s a tuple.

[-] Valmond@lemmy.dbzer0.com 12 points 2 months ago

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.

[-] panda_abyss@lemmy.ca 7 points 2 months ago

I’ve spent hours on that, and debugging missing commas between string literals. Even on separate lines you’re not safe from implicit concatenation.

this post was submitted on 24 Feb 2026
626 points (97.7% liked)

Programmer Humor

31294 readers
665 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS