Re: table.maxn...
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: table.maxn...
- From: Dirk Laurie <dirk.laurie@...>
- Date: 2015年5月31日 23:39:25 +0200
2015年05月31日 23:32 GMT+02:00 Tim Hill <drtimhill@gmail.com>:
> 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.