[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How can we make lua better?
- From: crow <crow_64a@...>
- Date: Sun, 27 Feb 2005 10:46:00 -0000
crow <email@example.com> wrote:
>PA <firstname.lastname@example.org> wrote:
>>"How can we make lua better?"
>>-- Martin Hollis, Jun 2002
>Probably an old matter by now, but not in the Lua.exe I'm using, (5.0.2):
>All variables being local. That way wouldn't it be down to where we declare them, making one form of declaration, and leaving the rest up to us?
Ok, judging by recent reactions to the guy whose view I supported, and the lack of reaction to my note, maybe I backed the wrong horse. :)
Still, is there anything wrong with this suggestion?
If all variables were local to the point where they are declared, and to things within that code in which they are declared, we could avoid the word local by putting them in the right places and being careful with names. Is there some reason this would not work?