[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Do you think Lua is lexically scoped?
- From: "Russell Y. Webb" <rw20@...>
- Date: Tue, 04 Sep 2001 09:48:30 -0700
Functions as first class objects are certainly useful. Giving them a
meaningful context within another function does make them more useful by
allowing you to write code that is better factored. For simple scripting it
is unnecessary, I agree. For more complex jobs like game AI, it can be very
nice and looks like it will be nicer with more generalized scoping rules.
As to how Lua should be labeled, I'm not too worried. The folks that care
can (and should) hash that out. At least there's no big disagreement about
how Lua works or what would be cooler.
Russ
> From: Oscar Lazzarino <osk@cclinf.polito.it>
> Reply-To: lua-l@tecgraf.puc-rio.br
> Date: Tue, 04 Sep 2001 15:04:28 +0200
> To: Multiple recipients of list <lua-l@tecgraf.puc-rio.br>
> Subject: Re: Do you think Lua is lexically scoped?
>
> "John D. Ramsdell" wrote:
>>
>> Do you think Lua is lexically scoped?
>
> Who cares? Is it really THAT important? I think most people NEVER use
> nested functions...
>
> Oscar Lazzarino