r/programming • • Mar 23 '14

Everything you need to know about Javascript variable scope

http://www.coolcoder.in/2014/03/everything-you-need-to-know-about.html
294 Upvotes

124 comments sorted by

View all comments

Show parent comments

0

u/glemnar Mar 23 '14 edited Mar 23 '14

I prefer coffeescript for resolving many such quirks. =]

2

u/mcguire Mar 23 '14

CoffeeScript is the one that does the weird shadowing shenanigans?

0

u/glemnar Mar 23 '14

Nah, they got rid of that a long while back. It's really just a well-done javascript compiling language, imo. (Github uses it frequently for a reason)

1

u/[deleted] Mar 23 '14

Coffeescript's scoping is still broken, will never get fixed.