On Fri, 15 Mar 2019 10:51:11 -0700
Guido van Rossum <gu...@python.org> wrote:
> Of course, everything comes at a price. You have to learn the operators,
> and you have to learn their properties when applied to different object
> types.

That's not the only price, though.  If "+" is added to dicts, then
we're overloading an already heavily used operator.  It makes reading
code more difficult.  In mathematics, this is not a problem as the
"types" of the "variables" are explicitly given.  Not in (usual) Python.

Regards

Antoine.


_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to