Is 'everything' a refrence or isn't it?
Aahz
aahz at pythoncraft.com
Sat Jan 7 15:34:30 EST 2006
[contextectomy, because this quote makes no sense with or without
context]
In article <86bqyn7qcp.fsf at bhuda.mired.org>, Mike Meyer <mwm at mired.org> wrote:
>
>Right. All references are objects, so "call by object" includes all
>the possibilities of "call by reference" as a subset. Not all objects
>are references, so "call by reference", so it's a proper subset.
Wrong. All references are *to* objects, maybe. There are no objects
that "are" references -- objects may *contain* references. You're
losing sight of the fact that objects and references are really two
completely different things in Python.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"19. A language that doesn't affect the way you think about programming,
is not worth knowing." --Alan Perlis
More information about the Python-list
mailing list