[Python-ideas] sum(...) limitation

Mark Young marky1991 at gmail.com
Wed Aug 13 21:28:02 CEST 2014


Have you ever heard someone wanting to "add" a bunch of pieces of text?
Outside of programming, of course not. In our domain, adding strings makes
perfect sense (it's concatenation), thus the idea of summing strings makes
perfect sense, given that summation is defined as repeated addition. The
same argument applies for lists.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140813/e2b50146/attachment.html>


More information about the Python-ideas mailing list