News for hackers. Stuff that matters.
Re:Why do arrays start at 0? by lupire on Wednesday August 24, 2022 @03:53PM (#32584872)
Implementation matters for performance, but even beyond that, the interface matters for users. 0-based offsets are convenient for users doing math on indexes.

A pointer is just one kind of array-like indexing scheme. Good pointery languages will distinguish Address from Offset from Integer.

There are no comments on this comment yet.