Closures and Python 0 comments

For quite a while now, I have only had a very foggy understanding of what closures where, and most explanations I have encountered only confused my already limited understanding. Martin Fowler has rescued me from this muddy state of mind with his short concise explanation of closures, and Ivan Moore was kind enough to translate his examples into Python. Python doesn't appear to really have full closure support however, as both lambdas and list comprehensions have limits on what they can do.

Comments

There are currently no comments

New Comment

required
required (not published)
optional