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 -- http://mail.python.org/mailman/listinfo/python-list