Modifying Class Object

Alf P. Steinbach alfps at start.no
Mon Feb 8 19:44:35 EST 2010


* alex23:
> "Alf P. Steinbach" <al... at start.no> wrote:
>> Hm. While most everything I've seen at effbot.org has been clear and to the
>> point, that particular article reads like a ton of obfuscation.
> 
> Must. Resist. Ad hominem.
> 
>> Python passes pointers by value, just as e.g. Java does.
>>
>> There, it needed just 10 words or so. :-)
> 
> 10 words _plus_ an understanding of Java.

No, one only needs an understanding of "pointer".

"Pointer" is a mostly language independent concept.

The reference to the Java language spec, where that term is used for this, was 
just an unsuccessful attempt to keep out word-play arguments based on the 
incompatibility of some incompatible meaning of "pointer"...


Cheers & hth.,

- Alf



More information about the Python-list mailing list