[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Modules and lexical scope
- From: Jim Jennings <jennings.durham.nc+lua@...>
- Date: Tue, 13 Jul 2010 06:57:17 -0400
Roberto Ierusalimschy <roberto@inf.puc-rio.br>:
>> Lexical scope was invented because dynamic scope makes programs
>> difficult to understand.
> I guess lexical scope came first (with lambda calculus). Dynamic
> scope was created by a bug in the implementation of lexical scope:
True. I should have been more precise and wrote that the
*implementation* of lexical scope was invented due to the difficulties
in reasoning about programs in languages that implemented dynamic
scope.
:-)
Jim