[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: table.maxn...
- From: Dirk Laurie <dirk.laurie@...>
- Date: Sun, 31 May 2015 23:39:25 +0200
2015-05-31 23:32 GMT+02:00 Tim Hill <firstname.lastname@example.org>:
> I’m fine with the Lua libraries not doing checking, but extending that to
> “no-one else should either” doesn’t seem a good argument to me.
If the routine is well documented and says "the table must be a proper
sequence or have a __len metamethod" as the table library does,
I don't have a problem with it.