News for hackers. Stuff that matters.
Re:Why do arrays start at 0? by dathinab on Friday August 26, 2022 @08:11AM (#32606333)
you can say the same for 1-indexed, because from the get to go both existed.

Also it's not less precise, as there are many different kinds of offsets too. First you have element wise and byte wise and similar offsets, then offsets are inherently relative to something, and that's not always the first element. But could be an offset from the back and I have even seen a offset from one element before the first element in some very unusual use-cases.

There are no comments on this comment yet.