[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: metatable transmission
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 22 Dec 2009 19:37:31 +0200
On Tue, Dec 22, 2009 at 7:11 PM, Mark Hamburg <mark@grubmah.com> wrote:
>(I'm less fond of the trick of having the __index entry in the metatable point back to the metatable. As far as I can see, all this does is save one table in the system and it does so at the expense of making all of the metamethods available for __index access.)
I see the point (an extra table is nothing here) but why should one
want to prevent the metamethods from being accessed from the object?