this post was submitted on 19 Sep 2024
1033 points (98.7% liked)

Programmer Humor

32051 readers
1578 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
[–] TwilightKiddy@programming.dev 26 points 14 hours ago* (last edited 14 hours 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 3 points 5 hours ago* (last edited 5 hours ago)

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

[–] 0ops@lemm.ee 4 points 11 hours ago (1 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".

[–] TwilightKiddy@programming.dev 2 points 6 hours 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 13 hours ago

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