4 ms·
> If you're accessing indexes directly you can have the index '0' in a table. Sure, you can, but in practice you won't. For example, something like `local pos
by wheybags 5y ago
> If you're accessing indexes directly you can have the index '0' in a table.
Sure, you can, but in practice you won't. For example, something like `local pos = {x, y}`. You now have to use 1/2 to access the x and y coords. Making the same table with 0 indexing is awkward and not idiomatic.