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

I'm pretty sure 1-based indexing is here too. Should new languages use it?

Fortran was using 1-based indexing 15 years before C existed if I understand correctly?



Yes! And it's not a coincidence Fortran was conceived to target scientists, while C was targeting kernel developers. The target audience had much to do with the choice.




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

Search: