5 ms·
Bingo. All of the languages I have used prior to (and since) use 0-indexed arrays. There's times where doing math with array indexes is simpler with 0 and with
by zdragnar 3y ago
Bingo. All of the languages I have used prior to (and since) use 0-indexed arrays.
There's times where doing math with array indexes is simpler with 0 and with 1-indexed arrays. I don't think I really found 0 to be difficult to learn; there are a great many more challenging things.
I wouldn't say "don't use a 1 indexed language" but I've also never found the arguments in favor of it to be compelling when using lua.