New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
technical review - iennae@gmail.com #38
Comments
var a=2; keeps getting called a program. This is jarring as while technically it could be it's more of an expression. |
misleading "Engine: I need to LHS reference arg1. You dig?" as arg1 doesn't appear in the code snippet (although mentioned in the paragraph above. |
We said that Scope is a set of rules for looking up variables by their identifier name. Sometimes, you will look up a variable, and it won't exist in the most immediate Scope you are currently executing in. .. This is a confusing statement. For people who don't understand scope this doesn't seem enlightening. You've defined scope as "set of rules for looking up variables by their identifier name". You're hinting at the fact that scope is like an onion with layers but not explicit in definition. |
Introducing "global scope" without mentioning it earlier on: The RHS reference for b cannot be resolved inside the function foo, but it can be resolved in the Scope surrounding it (in this case, the global, but could just be another Nested Scope cousin!). |
Thanks for the great edit suggestions. Should be addressed now. :) |
As per instructions starting a single issue for all of my comments on the book.
The text was updated successfully, but these errors were encountered: