lua-users home
lua-l archive

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


On Fri, Oct 1, 2010 at 16:48, Jon Akhtar <akhtar@mindspring.com> wrote:
> Christopher Eykamp <chris <at> eykamp.com> writes:

> I have run into the "global self" bug before. It is evil and difficult to find
> if you don't realize it exists.

Basic global environment protection measures will catch this at once.
(Think strict.lua or luac -l | grep ETGLOBAL.)

I don't see how it is possible to write serious stuff in Lua without
employing such measures.

Alexander.