[Numpy-discussion] Seeking advice on crowded namespace.
David Warde-Farley
dwf@cs.toronto....
Wed Aug 18 16:28:53 CDT 2010
On 2010-08-18, at 12:36 PM, Charles R Harris wrote:
> In general it is a good idea to keep the specific bits out of classes since designing *the* universal class is hard and anyone who wants to just borrow a bit of code will end up cursing the SOB who buried the good stuff in a class, creating all sorts of inconvenient dependencies. That's my experience, anyway.
Mine too. I can feel slightly less ashamed of my gut feeling in this regard knowing that it's shared by others. :)
I took think the "functional" interface ought to be kept for those who really want it, even if they have to separately import it.
David
More information about the NumPy-Discussion
mailing list