Re:The origin of zero-based array indexing
by mtdewcmu on Tuesday December 10, 2013 @04:57AM
(#6879847)
Well, frankly, I always thought 0-indexing made perfect sense, given the elegant symmetry with pointer arithmetic in C. It also makes sense in that variables are naturally initialized to zero, and that puts an index right at the start of an array. Everything just falls into place.
[ Parent
| on HN ]
There are no comments on this comment yet.