[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 5.2 feature list?
- From: roberto@... (Roberto Ierusalimschy)
- Date: Tue, 3 Oct 2006 11:12:57 -0300
> 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
code.
> 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