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/[deleted] Dec 23 '11
In D, shadowing a variable in a sub-scope is forbidden but two variables in different sub-scopes may have the same name. It's 99% painless and still prevent shadowing bugs.