Re:Tessel: The end of web development as we know it
by panic on Monday September 30, 2013 @04:20AM
(#6468360)
It's the same in JavaScript:
Lua just replaces var with local:
[ Parent
| on HN ]
Re:Tessel: The end of web development as we know it
by icambron on Monday September 30, 2013 @04:55AM
(#6468465)
"JavaScript Done Right" requires actually doing it right.
Re:Tessel: The end of web development as we know it
by riquito on Monday September 30, 2013 @04:37AM
(#6468413)
Whatever javascript does, it does not make Lua's default global variables look any better
Re:Tessel: The end of web development as we know it
by nilkn on Monday September 30, 2013 @09:37AM
(#6469515)
To be fair, using 'local' instead of 'var' does make the situation a lot clearer.