learnpython.org - an online interactive Python tutorial

Westley Martínez anikom15 at gmail.com
Sat Apr 23 15:38:08 EDT 2011


On Fri, Apr 22, 2011 at 04:48:39PM -0700, Dan Stromberg wrote:
> On Thu, Apr 21, 2011 at 11:38 PM, harrismh777 <harrismh777 at charter.net>wrote:
> 
> >
> > Yes. And you have managed to point out a serious flaw in the overall logic
> > and consistency of Python, IMHO.
> >
> > Strings should auto-type-promote to numbers if appropriate.
> 
> 
> Please no.  It's a little more convenient sometimes when you're coding, but
> it adds bugs that aren't worth the small benefit.
> 
> Explicit is better than implicit.
> 
> http://www.python.org/dev/peps/pep-0020/

We have tcl for this anyways.



More information about the Python-list mailing list