News for hackers. Stuff that matters.

johnmo

Re:Lua: Good, bad, and ugly parts on Saturday March 09, 2013 @12:31PM (#5348985)
> The "hash" part doesn't have a defined length. Both parts can be iterated over using the pairs method, which allows you to count the number of elements in them

While true, you should iterate integer-key tables using ipairs and hash tables using pairs.

> No continue statement

Continue doesn't exist? I swear I've used it in Lua 5.1.