On Thu, Dec 30, 2010 at 12:56 AM, Dirk Laurie wrote:
All the trouble people have with the table length function and
the table library, well over 100 posts by now, come down to one
thing, and one thing only:
The functions designed for use on tables without holes
don't actually give an error message when applied to
tables with holes.
I disagree with this assessment. In Lua, nil isn't truly a
first-class object, because it can't be stored in tables at all,
either as a key or a value. The real problem, as I see it, is the
widespread refusal to accept this fact.
[snip]