News for hackers. Stuff that matters.
Re:Again on 0-based vs. 1-based indexing by ycombobreaker on Wednesday January 20, 2021 @09:27AM (#25846788)
Doesn't that just demonstrate your (edit: the teacher's) point exactly?

The first centimeter starts at 0.

The first array element starts at 0.

Re:Again on 0-based vs. 1-based indexing by TuringTest on Wednesday January 20, 2021 @10:57AM (#25847931)
No, that's the lower bound of the first array element.
Re:Again on 0-based vs. 1-based indexing by nybble41 on Wednesday January 20, 2021 @02:15PM (#25850619)
It's the offset of the first array element from the start of the array. The first element is at the start of the array, so the offset is naturally zero—there are zero elements prior to the first element. Like the markings on a ruler, array indices are cardinal numerals (0, 1, 2, …) counting the distance from a reference point, not ordinal numerals (1st, 2nd, 3rd, …) representing rank in a sequential order.
Re:Again on 0-based vs. 1-based indexing by TuringTest on Wednesday January 20, 2021 @05:31PM (#25852847)
If you're comparing arrays to centimeters on a ruler, the first element is at the center of the first cell; at zero, there's the left border of the first cell.

(Also please note that both this and my previous reply are tongue-in-cheek).