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
2
u/LaurieCheers Dec 23 '11
I don't think that's comparable - In JavaScript, if you omit the
varkeyword, you've made an implicit global variable. Nobody's recommending for CoffeeScript to follow that precedent.