r/programming • • Jul 25 '13

CoffeeScript's Scoping is Madness

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

315 comments sorted by

View all comments

Show parent comment

7

u/MatrixFrog Jul 26 '13

Thankfully coffeelint can check for this.

Why not build that into the compiler? The whole point of a compiled language, in my opinion, is the guarantee that, if it compiles, it's highly likely to be correct. Why do I need a separate tool to do basic checks like that?

13

u/jashkenas Jul 26 '13

You're right -- the compiler should be doing this. Let's add it.