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
1
u/showellshowell Dec 23 '11
Automatic scoping buys you the ability to introduce variables without ceremony. Yes, it's worth it for me. Clearly it's subjective, but I've written thousands of lines of CoffeeScript, and I've never had problems with scoping bugs.
In JavaScript, where you do have extra ceremony to declare variables, I've occasionally been bitten by nastier bugs.