3 ms·
Of course this is "fixable", Lua is just software. There is also nothing wrong with One based indexing. Zero based indexing exists for historical reasons and b
by constantcrying 3y ago
Of course this is "fixable", Lua is just software.
There is also nothing wrong with One based indexing. Zero based indexing exists for historical reasons and because most people are comfortable with it they feel uncomfortable with the alternative, that is easily overcome though.
As an aside, the One based indexing is the mathematical convention, which is why e.g. MATLAB consciously choose it.
>Why hasn't anyone in the world just forked the language to be 0-based?
Significant amount of effort for an extremely minor change.