Programming intro book ch1 and ch2 (Windows/Python 3) - Request For Comments
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Sun Dec 20 04:58:02 EST 2009
On Sun, 20 Dec 2009 08:29:43 +0100, Alf P. Steinbach wrote:
> I recently (just weeks
> ago) was astounded to see that a C++ "expert" thought that Java had pass
> by reference, apparently because in Java only references are passed
> around.
The Java community, for some bizarre reason, has a tendency to describe
Java's argument passing model (which is identical to Python's) as "pass
by reference" even though it is nothing like pass by reference in
languages that actually have it (such as Pascal).
There is nothing so simple that it can't be totally confused by
sufficiently stupid terminology.
--
Steven
More information about the Python-list
mailing list