lua-users home
lua-l archive

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


On 12/07/2010 09:29, steve donovan wrote:
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)

Maybe they should be named _BLACK_MAGIC_GLOBALS_ and _BLACK_MAGIC_ENVIRONMENT_ then...
One would think twice before using these variables! (or just make an abbreviation expansion shortcut, of course).

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --