[Python-Dev] sum(...) limitation
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Aug 9 07:36:11 CEST 2014
Steven D'Aprano wrote:
> I've long believed that + is the wrong operator for concatenating
> strings, and that & makes a much better operator.
Do you have a reason for preferring '&' in particular, or
do you just want something different from '+'?
Personally I can't see why "bitwise and" on strings should
be a better metaphor for concatenation that "addition". :-)
--
Greg
More information about the Python-Dev
mailing list