why cannot assign to function call

rurpy at yahoo.com rurpy at yahoo.com
Tue Jan 6 22:21:13 EST 2009


On Jan 6, 7:03 am, Mark Wooding <m... at distorted.org.uk> wrote:
...
> > It seems that you don't include in the Python community all those who
> > use the term "name binding" instead of variable assignment
> > specifically because it gives new users a clue that Python is not the
> > same as C.
>
> Unfortunately, this practice causes other confusion, since `binding' is
> often used (in other language communities, notably Lisp and the
> functional languages) to describe the association between names and
> slots that hold references.

Is not the proper term "aliasing"?  Perhaps Python "variables" should
be called "alises".

>From http://en.wikipedia.org/wiki/Aliasing_(computing)
"aliasing describes a situation in which a
data location in memory can be accessed through
different symbolic names in the program."



More information about the Python-list mailing list