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
5
u/notfancy Dec 22 '11
CoffeScript's choice is dangerous. Two functions that assign to the same identifier work differently if the identifier is in scope or not. Code can break by varying the order of imports, for instance.
In my mind, this is an absolute indictment of CoffeScript.