lua-users home
lua-l archive

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


On Sun, Nov 15, 2009 at 8:00 PM, Jim Pryor <lists+lua@jimpryor.net> wrote:
> A different pattern, which I like better and is achievable within Lua as
> it is today, is just don't bind methods to objects you want to permit
> arbitrary data keys on.

When we discussed the Set problem, David Manura felt this was the
cleanest solution.

Also, with Sets we can obviously use operator overloading, which does
not use the method lookup mechanism.

steve d.