lua-users home
lua-l archive

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

> Biggest feature request on my radar is to sort out the automatic global 
> variables issue which seems to me to be the only serious design flaw in 
> Lua (and yes, I can see how it probably developed historically as Lua 
> got progressively used for larger projects than originally intended). I 
> know Roberto has code to work round this, but when I tried it it crashed 
> Girder spectacularly!

Usually, when I first use "-l strict" on a program for the first time I
have to correct some places, but those corrections always enhance the

> It is also expensive looking.

What do you mean?

> Would Roberto maybe admit that if he was redesigning Lua from scratch 
> today variables would be local by default and global by declaration? If 
> not, why not?

No. It is simply wrong.

-- Roberto