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

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.


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

Search: