3 ms·
Lua is descended from a data description language used by the Brazilian state oil monopoly, Petrobras. Civilians, and data scientists, tend to count from one.
by samatman 6y ago
Lua is descended from a data description language used by the Brazilian state oil monopoly, Petrobras.
Civilians, and data scientists, tend to count from one. Julia uses 1-based indexing for the same reason.
But yeah, it was a mistake. No good way to fix it, alas.