unexpected behavior: did i create a pointer?

Peter Otten __peter__ at web.de
Sat Sep 8 03:58:33 EDT 2007


Am Sat, 08 Sep 2007 00:32:35 +0000 schrieb Steven D'Aprano:

> On Fri, 07 Sep 2007 15:59:53 +0200, Wildemar Wildenburger wrote:
> 
>> I just thought I'd go along with the analogy the OP created as that was
>> his mindset and it would make things easier to follow if I didn't try to
>> forcibly change that.
> 
> My reaction to somebody trying to reason with the wrong analogy is to 
> teach them the right analogy, not to tell them they got it right when 
> they actually got it wrong.
> 
> "My car won't start -- I must not have stirred the gasoline enough before 
> baking it."
> 
> "Yes, that's right. It's very important to stir the gasoline fully so 
> that all the ingredients are fully mixed."

I think Wildemar is too defensive. The pointer "analogy" is a good first
approximation, not cargo cult.

Peter



More information about the Python-list mailing list