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

3

u/rwbarton Jul 26 '13

If you don't think that variable declarations are part of the scoping system of a language, well, that's quite strange to me (what else are they for, then?) but I have no interest in arguing that point.

The "thing described in the blog post" is that you cannot tell from the body of a function whether a variable used in it is local to that function or belongs to a wider scope. You seemed to claim above that this was "exactly the same behavior as Common Lisp". I don't believe this is the case.