Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: