[Numpy-discussion] packaging scipy (was Re: Simple financial functions for NumPy)
Wed Apr 9 14:25:59 CDT 2008
On Wed, Apr 09, 2008 at 11:27:04AM -0700, Christopher Barker wrote:
> Gael Varoquaux wrote:
> > For the beginner, "from numpy.all import *" is more confusing than "from
> > numpy import *" (which is already confusing).
> except that the beginner, nor anyone else, should ever use "import *"
Right! Sure. Tell this to a medical doctor who just wants to learn as
little things as possible about a computer in order to process his MRI
data and finish his PhD to never have to worry anymore with stupid things
like programming language.
"from foo import *" does have a usecase. It is suited only for small
scripts, but for people who want to learn as little as possible, it is
As you design something, ask “is this relevant to what people are trying
to do?” rather than “is this confusing?” […] It doesn’t matter whether
people could figure something out. It matters whether they’re interested
in figuring it out - is it part of what they’re trying to do, or an
(taken from http://log.ometer.com/2008-03.html#5)
Some people do not want their scripts to scale or to last more than a day.
More information about the Numpy-discussion