lua-users home
lua-l archive

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


On Thu, Jan 2, 2014 at 2:49 PM, Petite Abeille <petite.abeille@gmail.com> wrote:

On Jan 2, 2014, at 3:42 PM, Sir Pogsalot <sir.pogsalot@gmail.com> wrote:

> So inflexible >.<

SMITH: Doctor, it hurts when I do *this*.
DALE: Don’t *do* that.

And Happy New Year as well! :D
 
If you were emulating function wrappers (decorators in Python) and you wanted to do it with a chain of enclosing tables, this would not be possible.  Why disallow an expected behavior like this arbitrarily?  Anyway, there's another posting on this list about why metatables can't have metatables.  Raw access on metatables is inflexible.

(And Happy New Year to you! <3)