by jakub_h · 10y ago · 0 comments
So, Lua tables? ;)
Thou shalt not index from one.
:)
The problem was that Lua reified 1-indexing into the language when they optimized to make arrays faster and then created length operators. At that point, 1-indexing got baked into the language.