r/programming • • Dec 22 '11

The Problem with Implicit Scoping in CoffeeScript

http://lucumr.pocoo.org/2011/12/22/implicit-scoping-in-coffeescript/
83 Upvotes

116 comments sorted by

View all comments

Show parent comment

2

u/jashkenas Dec 23 '11

Yes, having "var" and forbidding shadowing at compile time is an appealing option. For more on the reason why we don't do it, see my reply to @hay_guise, above.