2 ms·
Yes, because language developed at a time where people didn't know about zero.
by xigoi 4y ago
Yes, because language developed at a time where people didn't know about zero.
- oblio 4y agoZero still would most likely wooldn't make sense. Zero is nothing, it can't be anything. Even ordinally. 1 is something and it fits very well for the first position... outside of programming :-)
- xigoi 4y agoIn 1-based indexing, the index of an item is the number of items you've already seen, including the one you're looking at. In 0-based indexing, the index of an item is the number of items you've already seen, excluding the one you're looking at.