this post was submitted on 16 Nov 2024
1136 points (99.1% liked)

Programmer Humor

19623 readers
411 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
[–] kuberoot@discuss.tchncs.de 18 points 6 days ago (2 children)

Ah, but you see, "John" and "Doe" are two names - first and last - and when you say "My name is", you're really listing out your names, with spaces inbetween!

But then there's hyphenated names, and I have no idea how those are treated.

[–] dch82@lemmy.zip 14 points 6 days ago (1 children)

"John Doe" vs ["John", "Doe"] vs {"firstName":"John", "lastName":"Doe"}

[–] Lemminary@lemmy.world 6 points 6 days ago* (last edited 6 days ago)
console.log(Object.values(name).join("\n"));
[–] MonkeMischief@lemmy.today 2 points 6 days ago

Could be..."Jondo" like, a mononym hahaha.