[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How can we make lua better?
- From: crow <crow_64a@...>
- Date: Sun, 27 Feb 2005 10:46:00 -0000
crow <crow_64a@blueyonder.co.uk> wrote:
(26/02/2005 11:25)
>
>
>PA <petite.abeille@gmail.com> wrote:
>(25/02/2005 23:00)
>
>>
>>"How can we make lua better?"
>>-- Martin Hollis, Jun 2002
>>
>>http://lua-users.org/lists/lua-l/2002-06/msg00012.html
>
>
>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?