ElCanut@jlai.lu to Programmer Humor@programming.dev · 8 months agoAsking the real questionsjlai.luimagemessage-square191linkfedilinkarrow-up11.11Karrow-down111
arrow-up11.1Karrow-down1imageAsking the real questionsjlai.luElCanut@jlai.lu to Programmer Humor@programming.dev · 8 months agomessage-square191linkfedilink
minus-squaredch82@lemmy.ziplinkfedilinkarrow-up20·8 months agoHello my name is JohnDoe. My name only contains Latin characters, no spaces allowed.
minus-squareKubeRoot@discuss.tchncs.delinkfedilinkEnglisharrow-up17·8 months agoAh, 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.
minus-squaredch82@lemmy.ziplinkfedilinkarrow-up14·8 months ago"John Doe" vs ["John", "Doe"] vs {"firstName":"John", "lastName":"Doe"}
minus-squareLemminary@lemmy.worldlinkfedilinkarrow-up5·edit-28 months agoconsole.log(Object.values(name).join("\n"));
minus-squareMonkeMischief@lemmy.todaylinkfedilinkarrow-up2·8 months agoCould be…“Jondo” like, a mononym hahaha.
Hello my name is JohnDoe. My name only contains Latin characters, no spaces allowed.
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.
"John Doe"
vs["John", "Doe"]
vs{"firstName":"John", "lastName":"Doe"}
Could be…“Jondo” like, a mononym hahaha.