lua-users home
lua-l archive

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


> What really got me confused about __newindex, __index is that "new" there -
> I thought this is only for new indices, so __index should be for "old",
> existing keys... But no :)

I suppose its a quite common consensus, the naming is unlucky.
However, its also quite questionable if its worth changing nowadays
and introduce incompatibilities just for the naming thing.