[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Empty? No. Array? No. Has? Yes.
- From: Dirk Laurie <dirk.laurie@...>
- Date: Thu, 4 Jul 2013 10:27:50 +0200
2013/7/3 Dirk Laurie <email@example.com>:
> My own opinion on the matters arising from 'empty' is already contained
> in the Subject field of the post.
I have, thanks to the discussion in this thread, changed my mind.
I no longer support 'has' either.
I'm back to believing there is no problem. Lua has got it solved already.
You need a special value for any purpose? — Define your own. Don't ask
anybody else to do it your way.
You need fixed-length arrays with holes? — __len and __ipairs are your
You don't like the table library? — It's only a library. You can write your
You yourself can handle all this, but all those poor newbies can't? —
Ag shame. One day they will have crossed Lua's Pons Asinorum
and be experts too.