Hacker News new | ask | show | jobs
by heisenzombie 1070 days ago
He’s not wrong, but ask any normal person “What’s the first thing on this list” and see what happens…
3 comments

This reminds me of when I used zeroeth, oneth, twoth, and threeth, instead of first, second, and third, for referring to indices 0, 1, 2, and 3 as a TA. It's less verbose than “at index zero”, but feels a little clumsy.
Zeroth is an actual word, I heard it many times in conversation between methematicians.
Sure but then what do you call the subsequent items?
first, second and so on
So the 'first' item in the list is actually the second?

The problem is you're trying to redefine English (and probably most other languages). The first item on a menu is, well the first item, like first place in a marathon, the first day of the month.

Surely a definition of the zeroth item would be something like an item that does not exist, the item that's left when you take away all the other items, etc.

Ordinals are 1-indexed. Language is 1-indexed; The #1 player is the best player, and so on.

zeroth is the ordinal associated with the cardinal zero.

For example christmas is the zeroth day after christmas.

A common advice with regards to user inputs is that if you do not do ordering or arithmetic on a piece of data (eg a phone numbers) then it should be a string even if it is numeric.

Similarly n-indexed conventions should be considered in terms of practical pros and cons.

Linguistic similarity is not a convincing argument to me.

This is the same argument as saying that object->method(arg) is superior to funtion(self, args) because it maps to the SVO english grammar.
For me first and one are synonyms. It's even abbreviated as 1st instead of 0st.
"Here's your zero place medal"