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

The reasoning is to be consistent with C and it's more than enough reasoning for me. I don't know if 1-based indexing is fundamentally better. However, I know the probability that I will need to use other languages in the future is 100%, and they'll use 0-based index.

It's like right-click-to-select.



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

Search: