News for hackers. Stuff that matters.
Re:The Problem with Implicit Scoping in CoffeeScript by shasta on Thursday December 22, 2011 @11:32AM (#3382080)
If you really favor protection from errors, then the correct choice is to require 'var' for new declarations but forbid shadowing (it's an error). Shadowing a la Scheme is a source of errors, too -- you can intend the outer variable, failing to notice it's been shadowed. Of course, if you really favor early detection of errors, you'll also have static name binding.

There are no comments on this comment yet.