[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Metatables cannot have metatables?
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 2 Jan 2014 17:55:15 +0200
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 ;)