|
|
|
|
|
by pacoverdi
742 days ago
|
|
That was a surprising downvote. I was referring to this: "it is customary in Lua to start arrays with index 1" [1] Not being a native English speaker, I may have phrased something wrong. I find "one-based indexing" in arrays not particular intuitive, and error-prone. Better? [1] https://www.lua.org/pil/11.1.html |
|
Obviously I use 0 based indexes for most of my programming. I have not found 1 based indexing to be a serious problem since Lua is a high enough language that I'm rarely doing complex index arithmetic.
FYI I didn't downvote you.