r/programming • u/zumpiez • Dec 22 '11
The Problem with Implicit Scoping in CoffeeScript
http://lucumr.pocoo.org/2011/12/22/implicit-scoping-in-coffeescript/
83
Upvotes
r/programming • u/zumpiez • Dec 22 '11
View all comments
Show parent comment
1
u/alexeyr Dec 23 '11
But if you have variable "x" in two different lexical scopes, you don't know if it refers to the same variable, or two different variables: this depends entirely on existence of "x" in an outer scope. Again, loss of locality.