this post was submitted on 24 Feb 2026
584 points (97.6% liked)

Programmer Humor

30090 readers
761 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 93 points 5 days ago (1 children)

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

[–] Valmond@lemmy.dbzer0.com 31 points 5 days ago (1 children)
[–] panda_abyss@lemmy.ca 42 points 5 days ago (1 children)

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

[–] Valmond@lemmy.dbzer0.com 11 points 5 days 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 7 points 5 days 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.