Hacker News new | comments | show | ask | jobs | submit login

None of what you just said is particularly true.

Python has closures.

Lambdas are anonymous functions which support only expressions, like all functions they can form closures.

Named functions also form closures and can contain any number of statements or expressions.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: