lua-users home
lua-l archive

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

On Aug 03, 2007, at 15:18, Stefan Brantschen wrote:

-- metatable: place to redefine behavior
-- environment: global storage space

environment: metatable.__index ?

Same difference, no?

IMHO, I'd think less about how to change Lua, but how to use what's available... :-)

Good point, good point, I shall ponder that wisdom :)

That said, in the case of environment vs. metatable, there is perhaps too many ways to express the same thing?

In any case, going back to my cave :P