[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Making lua case insensitive
- From: Steve Dekorte <steve@...>
- Date: Fri, 8 Dec 2000 16:56:15 -0800
John Belmonte wrote:
> 1) make a wrapper for your classes methods that would back up the current
> global table and replace it with your class object. That is, when the user
> calls obj:fullName() it's really first handled by a wrapper that switches
> the global table and then calls the actual fullName().
It seems that the cost of this step would exceed the benefit of the simpler syntax.
Is there some way to avoid this problem?