lua-users home
lua-l archive

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


On Wed, Jan 12, 2011 at 11:37 AM, Steve Litt <slitt@troubleshooters.com> wrote:
> So I guess I abused closures, huh?  :-)

It's a fine use of them, and I think the efficiency consideration only
applies when there's lots of objects (as the greats of computing say,
measure first, optimize next).

But it's wise to tell users about this dot business ;) [1]

steve d.
[1] can of course use colon with objects-with-closure, if you give
them a (dummy) first argument.