[Numpy-discussion] Re: numpy, overflow, inf, ieee, and rich comparison

Greg Ewing see at my.signature
Fri Oct 27 00:41:18 EDT 2000


Charles Boncelet wrote:
> 
> the
> right question to ask is "what do serious programmers want?"

As a serious programmer, what I want is a straightforward
and efficient way to specify the operation I want performed.

Truncating and non-truncating division are very different
operations, used for very different purposes. Which one
I want depends on the algorithm I'm implementing. Whenever
I write a division in my code, I know which one I want.
But the only way I can tell Python which one to use
is indirectly, by manipulating the types of operands
I feed to the / operator.

To me, this is so obviously wrong that I can't understand
how any serious programmer could think it was right.

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list