lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 12/31/2010 2:39 AM, Greg Falcon wrote:
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]

Two thumbs up from me for the whole post. :-) Obliged to give this some show of support. Having said that, I'll quickly disappear from this thread now...

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia