[Date Prev][Date Next][Thread Prev][Thread Next]
- 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.
> From: Oscar Lazzarino <email@example.com>
> Reply-To: firstname.lastname@example.org
> Date: Tue, 04 Sep 2001 15:04:28 +0200
> To: Multiple recipients of list <email@example.com>
> 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