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

-2

u/Zequez Jul 26 '13

In theory yes, in practice you would never declare a global y variable, so it is not a problem.

3

u/AgentME Jul 26 '13

The CoffeeScript compiler itself had this bug, so you can't say it's not a problem in practice.

0

u/Denommus Jul 26 '13

What I don't understand is why they don't solve this bug using "do".