[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Making Lua lexically scoped (was: Re: Proper tail recursion)
- From: Reuben Thomas <rrt@...>
- Date: Fri, 27 Jul 2001 14:07:54 +0100 (BST)
> I don't agree about the "far more" part... if Lua had full lexcial scoping,
> my existing programs would immediately benefit as I could remove all those
> ugly manual closures I build with tables. Newcomers to Lua wouldn't have to
> struggle with the mystery of upvalues.
Hear hear. IMO lexical scoping would have a greater immediate beneficial
effect, as it both simplifies the language for newbies and makes
encapsulation easier for experts. Tail recursion might be more useful to
some, but its lack is more work-aroundable.
L'art des vers est de transformer en beautés les faiblesses (Aragon)