Re:Why Python uses 0-based indexing. It's because of slices
by theseoafs on Wednesday October 23, 2013 @05:49PM
(#6601980)
Off the top of my head, Lua uses primarily 1-based arrays. (Of course, Lua arrays are actually associative arrays, so negative numbers and 0 are also valid indices, but all the standard library functions except your arrays to start at 1.)
[ Parent
| on HN ]
There are no comments on this comment yet.