101
Got myself a new mug. (thelemmy.club)
you are viewing a single comment's thread
view the rest of the comments
[-] one_old_coder@piefed.social 33 points 1 month ago

Array Damon? Vector Damon? I don't get it.

[-] sudoMakeUser@sh.itjust.works 72 points 1 month ago

I would say JSON Bourne but every member within the curlys needs to be a key value pair, so this isn't JSON.

[-] genzboomer@lemmy.zip 11 points 1 month ago

He was always very forgetful, Mr. Bourne... and well spotted! πŸ˜‰

[-] bamboo@lemmy.blahaj.zone 9 points 1 month ago

Yeah, {} should be [] so it would look something like this:

[""]

[-] 9point6@lemmy.world 18 points 1 month ago* (last edited 1 month ago)

Could double entendre it and do

[["πŸ˜ƒ", 0],
 [0, "πŸ˜ƒ"]]

For a JSON Bourne Identity

[-] loweffortname@lemmy.dbzer0.com 7 points 1 month ago* (last edited 1 month ago)

Technically an empty array [] is valid JSON...so...

Proof:

[-] sudoMakeUser@sh.itjust.works 10 points 1 month ago

["πŸ™‚"] and [] and "πŸ™‚" are valid, but anything within {} needs to be a key value pair.

[-] loweffortname@lemmy.dbzer0.com 12 points 1 month ago

I genuinely saw [] and not {}...

Maybe I do need to schedule that eye exam.

[-] LodeMike@lemmy.today 2 points 1 month ago
[-] NigelFrobisher@aussie.zone 2 points 4 weeks ago

Jake Weary was better

[-] python@lemmy.world 16 points 1 month ago

Me neither, but I bet it's still valid JS syntax

[-] dohpaz42@lemmy.world 9 points 1 month ago

Yes. In JavaScript, Objects without explicit keys will use the value as the key. At least that’s how it works in Chrome devtools output. πŸ€·β€β™‚οΈ

[-] ZoteTheMighty@lemmy.zip 8 points 4 weeks ago

This is insane, but ultimately, FAR from the most insane thing JavaScript has done to me this week, so I'll let it slide.

this post was submitted on 24 Jun 2026
101 points (98.1% liked)

Programmer Humor

32437 readers
1432 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 3 years ago
MODERATORS