[Python-ideas] PEP 505: None-aware operators
Rhodri James
rhodri at kynesim.co.uk
Thu Jul 26 08:13:44 EDT 2018
On 25/07/18 23:36, David Mertz wrote:
> The fact that a while bunch have people have commented on this subthread
> while not recognizing that the semantics of the '?.' and the if blocks are
> entirely different suggests the operators are but magnets.
*Entirely* different? Rubbish. It's more like the difference between
"+" and attempting to render "+" as a function using dunder methods.
I'm not keen on "?." and "?[]", but they are nothing like as bad as you
are implying, and certainly not as bad as introducing a whole new
concept like boxed types.
--
Rhodri James *-* Kynesim Ltd
More information about the Python-ideas
mailing list