[Python-ideas] Operator for inserting an element into a list

Michael Selik mike at selik.org
Sat Jun 16 15:04:00 EDT 2018

On Sat, Jun 16, 2018, 10:22 AM Mikhail V <mikhailwas at gmail.com> wrote:
> Plus it does not introduce overloading of the operator.

Now you're critizing duck typing.

And overloading has weakness in this - e.g. " var1 += var2 " does not
> have mnemonics, other than + character (it could be two integers as well).

That's an advantage, not disadvantage.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180616/5d80384e/attachment-0001.html>

More information about the Python-ideas mailing list