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/geraldalewis Dec 23 '11
It would be a good thing. Using an undeclared var is a runtime error in ES5
strictmode. The closer CoffeeScript hems to the 'good parts' of JavaScript, the better: https://github.com/jashkenas/coffee-script/issues/1547