Perl's @foo[3,7,1,-1] ?

Robert Kern robert.kern at gmail.com
Mon Jun 22 15:11:49 EDT 2009


On 2009-06-22 13:31, Jean-Michel Pichavant wrote:

> Moreover, writing numpy instead of np is not harder for the coder than
> switching mentally from np to numpy for the reader. It's just about who
> you want to make the life easier, the coder or the reader ?

<shrug> It depends on the audience. For those familiar with numpy and the np 
convention, it's easier to read code that uses np because there are many lines 
with several numpy functions called in each.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list