Comments by "p11" (@porky1118) on "You Are WRONG About 0 Based Indexing" video.
-
20
-
8
-
7
-
5
-
3
-
3
-
3
-
3
-
2
-
1
-
1
-
1
-
1
-
1
-
1
-
@voskresenie- I don't remember most of this conversation.
When you include zero in your natural numebers, which often makes sense, 0 is the first number.
Starting to count from 0 doesn't really make sense.
If you count, it's like jumping over the elements.
You start at zero, but you don't say it.
I would only make ordinal numbers start from zero, not cardinal, just like it already is in most programming languages.
So I start at 0, this is my "first" (0st) element.
Then I move to place one, there still is an element, so it's element 1. Then I go to place two, and if there still is something, it's 2. And I repeat this until there is no element anymore. The resulting number is the count.
The first index with doesn't have an element.
That's one way to view it.
1
-
1
-
1
-
1
-
1