Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Closures and lambda (anonymous functions) are orthogonal features. Python has closures (and one last limitation related to scope and rebinding was fixed in Python 3)

Furthermore although I agree Python's limited lambda's make it slightly uglier to do some constructs, it's merely syntactic sugar.

First-order functions are the critical feature. Whether you are compelled to give them a name or not isn't critical.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: