r/programming • • Jul 25 '13

CoffeeScript's Scoping is Madness

http://donatstudios.com/CoffeeScript-Madness
207 Upvotes

315 comments sorted by

View all comments

Show parent comment

0

u/a_marklar Jul 26 '13

Its not that typing var is so hard, its that I'm a forgetful person and forgetting to type var can really bite you.

I think the reason that it isn't a problem in practice is because modules/files do not grow large. In the one app I've written (both server + client in cs) very few of the files even had 'global' variables, the majority were just classes and functions.