lua-users home
lua-l archive

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


On Sun, Jul 11, 2010 at 11:46 PM, Jorge <xxopxe@gmail.com> wrote:
> I'd like to rise a question that seems to be being avoided in the
> current threads discussing such things, and it's absolutely critical.
>
> _G and _ENV are _UGLY.
>

Roberto thinks they should be ugly:

http://lua-users.org/lists/lua-l/2010-05/msg00481.html

The reason is that code that uses _ENV is likely to be black magic,
which should be wrapped up in a module (e.g. for a
backwards-compatible setfenv function)

steve d.