> While true, you should iterate integer-key tables using ipairs and hash tables using pairs.
In my opinion, this makes Lua's combination of arrays and dictionaries pointless since one must distinguish between them anyway for iteration.
> While true, you should iterate integer-key tables using ipairs and hash tables using pairs.
In my opinion, this makes Lua's combination of arrays and dictionaries pointless since one must distinguish between them anyway for iteration.