News for hackers. Stuff that matters.
Re:... because Ruby isn't terse enough yet by testapplication on Sunday October 28, 2007 @02:55PM (#73480)
That should read:

    def foo(n):
        n = [n]
        def bar(i):
            n[0] += i
            return n[0]
        return bar
Python really needs a scoping syntax to allow assignment to closed variables.

There are no comments on this comment yet.