learnpython.org - an online interactive Python tutorial
drsalists at gmail.com
Fri Apr 22 19:48:39 EDT 2011
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list