Re: 'table' as fallback for tables
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: 'table' as fallback for tables
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2016年6月25日 15:41:42 -0300
> Why doesn't table.pack set a default metatable that uses self.n for __len?
Because using an explicit ".n" in the code (and knowing what it means)
seem simpler.
-- Roberto