Tuesday, April 28, 2009 Python Functional Programming Antipatterns: When Closures Can Be A Solution In Search of A Problem (PART 1) One of the things I don't like about closures [1](via nested functions) is how they obscure intent in code. For example, if you just want to retain state why use a closure if you could just use a class? Sure a closure sounds cooler, but a class or a regular group of f