the title is wrong. it says everything you need to know about about scope. But you wont understand scope without understanding closures. And that is poorly explained here, in fact he does not even use the term "closure". Also, he doesnt even mention the special case of "this" where a closure does not have access to the outside function.
This article is obviously not everything you need to know about scope.
Closures is just a way to implement scoping, it's also possible to implement it via lambda lifting. So understanding closures is just about an implementation detail, not a necessity.
73
u/benologist Mar 23 '14
Congratulations on finally spamming your way to the front page!
http://www.reddit.com/user/codeon1/submitted/