A document proposing terminology to describe 0-based indexes in unambiguous language.
For example, considering a sequence like [5, 4, 7, 8, 2]
What is the 4th element? 8, but if I asked what is the "0th element", you would answer 5, but that is the 1st element. The document introduces the terminology of the zerid element (0id element), oneid element (1id), etc. to handle 0-based indexing.
rpnx•3h ago
For example, considering a sequence like [5, 4, 7, 8, 2]
What is the 4th element? 8, but if I asked what is the "0th element", you would answer 5, but that is the 1st element. The document introduces the terminology of the zerid element (0id element), oneid element (1id), etc. to handle 0-based indexing.