this post was submitted on 19 Sep 2024
1467 points (98.5% liked)

Programmer Humor

32484 readers
772 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] JohnDClay@sh.itjust.works 9 points 1 month ago (2 children)

Isn't the guy at the zeroith table?

[–] TwilightKiddy@programming.dev 29 points 1 month ago* (last edited 1 month ago) (3 children)

There is no such thing as "zeroith". Does not matter which numbers you slap on the tables, the one with the lowest number will always be the first. The word "first" has nothing to do with indices, it's just an antonym for "last".

[–] sukhmel@programming.dev 6 points 1 month ago* (last edited 1 month ago) (1 children)

There's no such thing as "zeroith" because it's called "zeroth — being numbered zero in a series"

This works for building storeys, this would work equally well for tables. The only reason this is not used often is because the series are rarely zero-based in anything that doesn't also want to equate index and offset.

You're right that first may be read as "opposite of last", that would add to the confusion, but that's just natural language not being precise enough.

Edit: spelling

Edit2: also, if you extend that logic, when you're presented with an ordinal number, you would need to first check all the options, sort them, and then apply the position you're asked, that's not really how people would expect ordinal number to be treated, not me, at the very least

[–] psud@aussie.zone 4 points 1 month ago* (last edited 1 month ago) (1 children)

Americans also index their building floors from 1

A two storey American building has floors 1 and 2, where elsewhere they might be ground (zero) and 1.

[–] sukhmel@programming.dev 2 points 1 month ago (1 children)

Not only them, and I'm not here to blame 😅

[–] psud@aussie.zone 3 points 1 month ago (1 children)

Indeed, however the Americans stand out in the anglosphere

[–] xmunk@sh.itjust.works 1 points 1 month ago* (last edited 1 month ago) (1 children)

Canada sad.

They always forget about us.

[–] psud@aussie.zone 1 points 1 month ago (1 children)

Which standard does Canada use?

[–] xmunk@sh.itjust.works 1 points 1 month ago

1st floor is the entrance level.

[–] 0ops@lemm.ee 6 points 1 month ago (2 children)

I kind of brought this up in another comment, that "first" and "1st" aren't really the same thing. Which is confusing when you extend that to fourth/4th five/5th. I don't generally see someone write "zeroith", but I'll see "0th".

[–] psud@aussie.zone 4 points 1 month ago

First and 1st are certainly different symbols for the same concept

The spelling for the index before the first is zeroth, no need to insert an extra vowel

[–] TwilightKiddy@programming.dev 4 points 1 month ago

And here I thought people write "1st" because they are lazy and want to press 3 keys instead of 5.

[–] NeatNit@discuss.tchncs.de 3 points 1 month ago

That's a problem when you get to the fourth.

[–] xmunk@sh.itjust.works 3 points 1 month ago

Yes, and if he texted "Hey, I'm at the zeroith table" and the woman replied with the sibling comment then you know to run far and run fast.