restriction on sum: intentional bug?

Carl Banks pavlovevidence at gmail.com
Sat Oct 17 01:38:27 CEST 2009


On Oct 16, 9:59 am, Tim Chase <python.l... at tim.thechases.com> wrote:
> So I agree with Alan & Peter that this creates an unfortunate
> language wart among (as Peter aptly puts it) "consenting adults".


Perhaps, BUT...

If, say, you were to accept that Python is going to guard against a
small number of especially bad cases, this has got to be one of the
top candidates.

Potentially grave inefficiency (order of magnitude loss of
performance), and very likely to be misused.


Carl Banks

(Course I think the right solution would have been a separate
concatenation operator, beyond hope now, though.)



More information about the Python-list mailing list