Re:More information on Google's new web language, Dash
by crizCraig on Saturday September 10, 2011 @02:17AM
(#2980993)
In python nested functions must be declared before calling them. Also stuff like this seems to crop up on me when I ry using closures: http://stackoverflow.com/questions/2516652/scoping-problem-i...
[ Parent
| on HN ]
Re:More information on Google's new web language, Dash
by riffraff on Saturday September 10, 2011 @09:23AM
(#2981530)
that is what I meant as having a better syntax for anonymous functions. I agree it's bad (even with nonlocal in python 3) but that is not a matter of different scoping rules, it's only syntax.