this post was submitted on 24 Feb 2026
573 points (98.2% liked)

Programmer Humor

30013 readers
1964 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] panda_abyss@lemmy.ca 88 points 1 day ago (1 children)

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

[–] Valmond@lemmy.dbzer0.com 28 points 1 day ago (1 children)
[–] panda_abyss@lemmy.ca 38 points 1 day ago (1 children)

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

[–] Valmond@lemmy.dbzer0.com 10 points 1 day ago (1 children)

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 5 points 1 day 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.