Re:Why Python uses 0-based indexing. It's because of slices
by esrauch on Wednesday October 23, 2013 @05:49PM
(#6601974)
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.
[ Parent
| on HN ]
Re:Why Python uses 0-based indexing. It's because of slices
by desireco42 on Wednesday October 23, 2013 @08:03PM
(#6602619)
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.