[Python-ideas] PEP 505: None-aware operators
Rhodri James
rhodri at kynesim.co.uk
Thu Jul 19 08:48:29 EDT 2018
On 19/07/18 07:06, Greg Ewing wrote:
> Chris Angelico wrote:
>> I'd love to hear an explanation of WHY this doesn't look like Python
>> any more. For instance, is the + operator somehow wrong for Python,
>> and it should have been the word "add"?
>
> There's a very long tradition of using the symbol "+" to
> represent addition, so it's something most people are
> familiar with. There's no such tradition for the new
> operators being proposed.
There is, actually, it's just not a long one. C# has had null-aware
operators for a while, for example. I'll admit the syntax sits better
in a C-like language, though.
--
Rhodri James *-* Kynesim Ltd
More information about the Python-ideas
mailing list