Re: why no automatic conversion in string concatenation?

2007-11-13 Thread Chris Mellon
On Nov 13, 2007 1:09 PM, Michael Pelz Sherman <[EMAIL PROTECTED]> wrote: > Thanks Cliff. Not to belabor this point - clearly it's just something I'll > have to get used to - but isn't the choice of the "+" as the concatenation > operator part of the problem here? A more "explicit" choice would have

Re: why no automatic conversion in string concatenation?

2007-11-13 Thread Michael Pelz Sherman
l "J. Clifford Dyer" <[EMAIL PROTECTED]> wrote: On Tue, Nov 13, 2007 at 07:15:06AM -0800, Michael Pelz Sherman wrote regarding why no automatic conversion in string concatenation?: > >As a Java & PHP developer, I find it kind of annoying that I have to >explici

Re: why no automatic conversion in string concatenation?

2007-11-13 Thread J. Clifford Dyer
On Tue, Nov 13, 2007 at 07:15:06AM -0800, Michael Pelz Sherman wrote regarding why no automatic conversion in string concatenation?: > >As a Java & PHP developer, I find it kind of annoying that I have to >explicitly convert non-string variables to strings when concatenat

why no automatic conversion in string concatenation?

2007-11-13 Thread Michael Pelz Sherman
As a Java & PHP developer, I find it kind of annoying that I have to explicitly convert non-string variables to strings when concatenating them, especially when python is quite capable of doing the conversion automatically. i.e.: >>> myBool = True >>> print myBool True >>> print "myBool is " +