[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Alternative (better?) __index implementation
- From: roberto@... (Roberto Ierusalimschy)
- Date: Tue, 11 Dec 2007 15:55:38 -0200
> I've wanted a way to do this in Lightroom's class system. We optimize for
> the case where a class has no getters or setters, but most of the classes
> have them. The solution I'd been considering was to add an extra parameter
> to the index function giving the base table. I like Rici's solution,
> however.
Do you like or do you prefer Rici's solution? (If you prefer, why?)
-- Roberto