Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
crizCraig
on Sept 10, 2011
|
parent
|
context
|
favorite
| on:
More information on Google's new web language, Das...
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...
riffraff
on Sept 10, 2011
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: