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

Programmer Humor

32716 readers
288 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 28 points 3 months ago* (last edited 3 months 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 6 points 3 months ago* (last edited 3 months 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

[–] [email protected] 4 points 3 months ago* (last edited 3 months 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 2 points 3 months ago (1 children)

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

[–] [email protected] 3 points 3 months ago (1 children)

Indeed, however the Americans stand out in the anglosphere

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago) (1 children)

Canada sad.

They always forget about us.

[–] [email protected] 1 points 3 months ago (1 children)

Which standard does Canada use?

[–] [email protected] 1 points 3 months ago

1st floor is the entrance level.

[–] [email protected] 6 points 3 months 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".

[–] [email protected] 4 points 3 months 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 4 points 3 months ago

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

[–] [email protected] 3 points 3 months ago

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