> And from my experience, it's way easier to model data with three simple structures; vectors (= arrays), maps and sets.
So, Lua tables? ;)
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.