On Thu, Oct 17, 2019 at 8:54 PM Inada Naoki <songofaca...@gmail.com> wrote:
>
> I think this PEP is very relating to language design philosophy.
>
> (a) Overload operator heavily for convenience.
>
> (b) Prefer methods over operators.  Set a high bar for
>     overloading operators on core types.
>
> I prefer (b) philosophy.  And I don't think described usefulness
> is enough for adding the operator.
>
> I know this is a subjective opinion, but I'm -1 on this PEP.
>

Equally subjective, of course, but I prefer to be able to use
operators. There's a good reason that we use mathematical symbols for
non-numeric data types already (adding tuples together, multiplying a
list by an integer, etc), and it definitely makes code easier to read.

+1.

ChrisA
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/TJALS5I2RRJXNMLUIMQRPLMFSES5PLHG/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to