lua-users home
lua-l archive

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


On Thu, Jan 2, 2014 at 4:52 PM, Andrew Starks <andrew.starks@trms.com> wrote:
>  If Lua
> recursively checked the metatable's metatable, you'd be encouraging code
> that would speeds the creation of nested classes at the significant expense
> of actually using them.

Absolutely - and it isn't difficult to automate that creation, much
better than messing with a very critical path (method/field access)

> Isn't that what Ruby is for?

Heh, as well as monkey-patching unwisely.  We could do that, we just don't ;)