What other languages use the same data model as Python?

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat May 7 18:54:57 EDT 2011


Ben Finney wrote:

> No, I think not. The term “variable” usually comes with a strong
> expectation that every variable has exactly one name.

I would say that many variables don't have names *at all*,
unless you consider an expression such as a[i] to be
a "name". And if you *do* consider that to be a name,
then clearly one variable can have a great many names.

What would *you* call a[i]?

-- 
Greg



More information about the Python-list mailing list