Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.ml

21 replies

I was once handed a document that said "Surname:" so I wrote my last name. Then the next line was "Last Name:"...so I wrote my last name, again.

The lady I handed it back to made fun of me for not knowing what "Surname" meant.

32
Esjeereply
lemmy.world

Don't both of them mean the same thing?

30
lemmy.world

The only right answer... But wouldn't Name[1] be 'e' in this case? I would add a .split(' ') to avoid confusion.

So the full answer would be Name.split(' ')[1]

Why do I always over think stuff like this...

Edit: they also shouldn't capitalize variable names

9

There's a reason I refuse to try parsing names as a string separated by spaces.

Separate fields, bitches.

1

Could be the middle name though, better use name[name.length-1]

2
possumpat.io

Happened to me several times. I always wanted to scream, but I had to be quiet so I just thought "AAAAAAAAAAAAAAAA"

15
lemmy.ml

That's when you circle the last name and draw an arrow towards the correct field!

14
lemmy.world

Something about this one really hit me. I think it's his face just blankly staring.

13

You reached the end