anything like C++ references?

Aahz aahz at pythoncraft.com
Sun Jul 13 21:43:41 EDT 2003


In article <sag3hv4vf884ed7ouu5cv8ofnopp9j1t12 at 4ax.com>,
Stephen Horne  <intentionally at blank.co.uk> wrote:
>
>In computer science, a variable is a named binding to a value.
>Operations on that variable may rebind it to a different value, but
>values don't change behind your back. A pointer is, in effect, a value
>which indirectly refers to another (possibly anonymous) variable. A
>pointer is something you specifically request, and by doing so you
>allow that the 'variable' being indirectly referenced may be modified
>by something else that has no direct access to your pointer value (via
>your named variable or via copys or pointers-to your pointer held
>elsewhere).
>
>Python should respect that.

That's why I (and others) prefer to use "name" and "target" instead of
"variable".  Would that assuage your ire?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Not everything in life has a clue in front of it...."  --JMS




More information about the Python-list mailing list