News for hackers. Stuff that matters.
Re:How To Let People Know You're A Bad Python Programmer by grunt on Friday August 28, 2009 @01:56PM (#791873)
Only since Python 3000, with the addition of the "nonlocal" declaration, can python claim to have closures. And yes, Python does also have "first-class functions"--in the same way that C has first-class functions. It's the "anonymous" part that it has difficulty with.
Re:How To Let People Know You're A Bad Python Programmer by ubernostrum on Friday August 28, 2009 @03:00PM (#792019)
Glad to know I can add you to my list of people who believe that Haskell does not (and by definition cannot) have closures.
Re:How To Let People Know You're A Bad Python Programmer by blasdel on Friday August 28, 2009 @04:07PM (#792179)
You can't have closures without variables to close over! :)