[Python-ideas] Modern language design survey for "assign and compare" statements
marcidy at gmail.com
Mon May 21 07:37:50 EDT 2018
On Mon, May 21, 2018, 03:58 Rhodri James <rhodri at kynesim.co.uk> wrote:
> On 20/05/18 06:19, Matt Arcidy wrote:
> > On Sat, May 19, 2018, 11:07 Kirill Balunov <kirillbalunov at gmail.com>
> >> I think I have a very strong argument "why are not others valid" -
> >> already three months have passed and among 1300+ messages there was not
> >> single real example where assignment expression would be convenient or
> >> useful outside `while` and `if` statements. If you have a
> >> (with an example), I would be glad to see.
> > comprehensions. I don't think you read any of the messages. about 1000
> > were solely about comprehensions.
> I'm afraid I haven't seen a convincing example of an useful assignment
> expression in a comprehension that wasn't also a convincing example of
> things that shouldn't have been comprehensions in the first place.
I haven't seen a convincing counter argument that doesn't axiomatically
depend on personal opinion. Can you define your "shouldn't" in a way that
isn't just your personal taste? I can't know from your statement here.
> Rhodri James *-* Kynesim Ltd
> Python-ideas mailing list
> Python-ideas at python.org
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas