[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Virgin tables
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 31 Dec 2010 10:38:29 -0200
> 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...
I make your words mine.
-- Roberto