lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, 2005-05-18 at 10:29 -0500, Rici Lake wrote:
> My first reaction to __siz was "what happened to the e?" but on 
> reflection, I think that __length would be less confusing. __siz[e] of 
> a table would intuitively (to me, anyway) indicate the total size, not 
> the length of the contiguous array component.
> This could then be made consistent between strings and tables 
> (table.len, string.len).

I'd like to add my voice to this. I think __len or __length is much
nicer.

D.

-- 
Daniel Silverstone                         http://www.digital-scurf.org/
PGP mail accepted and encouraged.            Key Id: 2BC8 4016 2068 7895