What other languages use the same data model as Python?
Gregory Ewing
greg.ewing at canterbury.ac.nz
Mon May 9 21:49:04 EDT 2011
Steven D'Aprano wrote:
> It's just that the term "variable" is so useful and so familiar that it's
> easy to use it even for languages that don't have variables in the C/
> Pascal/Fortran/etc sense.
Who says it has to have the Pascal/Fortran/etc sense? Why
should static languages have a monopoly on the use of the
term? That seems like a rather languagist attitude!
And BTW, applying it to Python is not inconsistent with its
usage in Pascal. In the technical vocabulary of Pascal,
a "variable" is anything that can appear on the left hand
side of an assignment. The analogous term in C is "lvalue".
--
Greg
More information about the Python-list
mailing list