this post was submitted on 17 Jan 2024
683 points (98.9% liked)

Programmer Humor

19166 readers
575 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 8 months ago* (last edited 8 months ago) (2 children)

yes of no

Not even valid json but compiler doesn't complain

[–] [email protected] 16 points 8 months ago (1 children)

Not sure what you mean, there’s no json in this code, it’s all valid (if a little ugly) Python.

[–] [email protected] 1 points 8 months ago (1 children)
[–] [email protected] 5 points 8 months ago (1 children)
[–] [email protected] 2 points 8 months ago (1 children)
[–] [email protected] 3 points 8 months ago

Looks pretty much the same as a template string in Javascript, an arguably crazier language.

[–] [email protected] 4 points 8 months ago