by raganwald · 14y ago · 0 comments
So am I, which is why the post explains exactly how to do it in CoffeeScript. I am glad he dropped "var," but I happen to disagree with his design choice for what to do with variables that are not explicitly declared.
But agree or disagree, it is not correct to say that there is no lexical scope in CoffeeScript when in reality people are debating how they want a leaky abstraction automatic variable hoisting feature to work.
https://github.com/jashkenas/coffee-script/issues/2552
Scheme interpreters have been optimizing away the cost for most cases since the 1970s.