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

FORTRAN and Algol60 are also not-0-indexed.

From the exple.tive.org page Guido links to:

> On top of that other languages that antedate BCPL and C aren’t zero-indexed. Algol 60 uses one-indexed arrays, and arrays in Fortran are arbitrarily indexed – they’re just a range from X to Y, and X and Y don’t even need to be positive integers.

It was actually a pretty interesting read, I recommend it if you have the time.



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

Search: