On 16.04.2011 1:17, Sam Tobin-Hochstadt wrote:
On Fri, Apr 15, 2011 at 5:10 PM, Dmitry A. Soshnikov
<[email protected]> wrote:
I don't know what
else to say to persuade you of this, but making identifier resolution
fast is not "the main reason".
Oh, it's not required, I got it. And I also won't persuade you, but just
suggest this resource
http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-35.html#%_sec_5.5.6
(the whole book is also recommended to be read if not yet).
I first read SICP a long time ago :)
Well, then you should know that the mentioned above chapter from the book is
exactly about what I was saying, i.e., again -- "let's make lexical
addressing to make fast lookup".
1. Just because I've studied SICP doesn't mean I agree with everything
they say there.
2. The point of that section is describing an optimization that is
possible, given lexical scope. They are certainly not advocating for
lexical scope because it enables the optimization.
OK, let it be.
P.S.: so having this issue as already solved (as a runtime error, but
still -- the error!, not a typo-hazard!) made me think that the main
reason was another (as it's usually follows from having lexical
addressing). OK, I propose to conclude at this point since we've found
out the reasons.
Dmitry.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss