On Mon, Dec 2, 2013 at 2:16 PM, Gael Varoquaux <
[email protected]> wrote:
>
> On Mon, Dec 02, 2013 at 12:49:19PM +0100, Vlad Niculae wrote:
> > Personally I'd rather be a bit frustrated but have tab completion and
> > pyflakes warnings. I avoid using star imports even in hackish scripts.
> > I assume the warning will create unnecessary confusion when people
> > learn to use the star import first. These users will probably feel
> > that the warning is a scikit-learn bug, or just completely ignore it
> > (users don't read warnings), instead of changing their style.
>
> +1. "Import *" is a really really bad habit. And hacked up interactive
> environments (with crazy start up scripts) make it really hard to teach,
> because beginners don't make the difference between a hack and Python
> proper and find that Python is not very systematic in what it does.
I know you are addressing a comment from the original proposal, but I think
these arguments are in *favor* of the proposal, in general. "api" modules
are very useful without "import *". Proper use of the "api" module gives
all of the convenience of "import *" without any of these drawbacks.
--
Robert Kern
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general