Seth Kurtzberg <seth / cql.com> writes:

> Ruby has closures, Python does not.  Not getting into the "who's better" 
> argument; just citing a fact.

Actually, no, that's wrong.  Python has had closures for a while now.

>>> def make_adder(x):
....   def adder(y):
....     return x + y 
....   return adder
.... 
>>> a10 = make_adder(10)
>>> a10(2) 
12
>>>

--Johann