[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Speed comparison
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 4 Jun 1999 09:07:29 -0300 (EST)
>From freekb@igwe11.vub.ac.be Fri Jun 4 07:14:12 1999
>
>Lua is great on almost every point, except the scoping rules. Why can't we
>have normal scoping rules (i.e a variable is local unless defined
>globally?). Though I read the rationale behind that decision somewhere, I
>wasn't exactly statisfied by it.
there's a game you can play with the set/getglobal tag methods and with the
callhook so that global variables seem local to a chunk.
>Is there any who likes these scoping rules?
we do :-)
>Are there any plans on changing this?
sorry, no.
I don't think we're going to change anything in the syntax.
--lhf