Not fully OO ?

Fredrik Lundh fredrik at pythonware.com
Sun Sep 21 05:35:04 EDT 2008


Martin v. Löwis wrote:

> I don't think he meant that Python is wrong somehow, but that the OO
> babble of what happens for 2+2 is wrong. The babble said that, when the
> code is executed, an __add__ message is sent to the 2 object, with
> another 2 object as the parameter. That statement is incorrect: no
> message is sent at all, but the result is available even before the
> program starts.

On the other hand, the inability to distinguish between "as if" and 
"hah, I've looked under the covers" isn't necessarily a good trait for a 
programmer.  If he bases his mental model on concrete implementation 
details of a production quality software product, he's bound to end up 
with a cargo-cultish understanding of fundamental issues.  If he uses it 
to win arguments, people will flip his bozo bit pretty quickly.

</F>




More information about the Python-list mailing list