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

Programmer Humor

20039 readers
54 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
[–] rimjob_rainer@discuss.tchncs.de 11 points 1 year ago* (last edited 1 year ago) (2 children)

yes of no

Not even valid json but compiler doesn't complain

[–] pennomi@lemmy.world 16 points 1 year ago (1 children)

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

[–] rimjob_rainer@discuss.tchncs.de 1 points 1 year ago (1 children)
[–] jalda@sopuli.xyz 5 points 1 year ago (1 children)
[–] rimjob_rainer@discuss.tchncs.de 2 points 1 year ago (1 children)
[–] NikkiDimes@lemmy.world 3 points 1 year ago

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

[–] GBU_28@lemm.ee 4 points 1 year ago