Confused with methods

jfj jfj at freemail.gr
Mon Feb 7 04:27:28 EST 2005


Alex Martelli wrote:

> 
> I still wouldn't see any "inconsistency" even if two different ways of
> proceeding gave the same result in a certain case.  That would be like
> saying that having x-(-y) give the same result as x+y (when x and y are
> numbers) is ``inconsistent''... the word ``inconsistent'' just doesn't
> MEAN that!
> 
> "Inconsistent" means sort of the reverse: one way of proceeding giving
> different results.  But the fact that the same operation on objects of
> different types may well give different results isn't _inconsistent_ --
> it's the sole purpose of HAVING different types in the first place...!
> 

Ok! I said I was confused in the first place!


G.




More information about the Python-list mailing list