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

Lua is probably the strongest candidate for a respected 1-based language. Smalltalk, Fortran, and MATLAB are other examples of widely used languages that are 1 based.


I am going to learn Lua and use it much more now, thanks for pointing this out. As someone said, having 0 based indexes is inhuman way of dealing with arrays, only made some sense in C, others just copied.




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

Search: