[Python-ideas] PEP 505: None-aware operators
Steven D'Aprano
steve at pearwood.info
Thu Jul 26 01:09:36 EDT 2018
On Thu, Jul 26, 2018 at 01:02:47AM -0400, Amit Green wrote:
> 3. The problem is way deeper than simply adding '?.' and other operators.
> For real use cases, you also need to say "how far" the an operator can
> "spread" -- and this is real hard to solve.
Why do you think that is the case? No other operators "spread". Why
should these?
> 4. Coming up with a readable syntax that doesn't look like line noise is
> really hard; and very subjective.
Define "line noise".
Is a.b.c syntax line noise?
Is a**b**c syntax line noise?
Is a == b == c line noise?
--
Steve
More information about the Python-ideas
mailing list