Closures in leu of pointers?

Ian Kelly ian.g.kelly at gmail.com
Sat Jun 29 15:23:54 EDT 2013


On Sat, Jun 29, 2013 at 11:02 AM, Antoon Pardon
<antoon.pardon at rece.vub.ac.be> wrote:
> Op 29-06-13 16:02, Michael Torrie schreef:
>
>>
>> The real problem here is that you don't understand how python variables
>> work.  And in fact, python does not have variables.  It has names that
>> bind to objects.
>
>
> I don't understand why members of this list keep saying this. Sure the
> variables in python behave differently than those in C and algol  But they
> behave similarly as those in smalltalk and lisp and I haven't seen
> anyone claim that smalltalk and lisp don't have variables.

Perhaps because that is the terminology used by the language documentation:

http://docs.python.org/3/reference/executionmodel.html#naming-and-binding



More information about the Python-list mailing list