[Python-ideas] Modern language design survey for "assign and compare" statements
Mike Miller
python-ideas at mgmiller.net
Mon May 21 13:00:01 EDT 2018
On 2018-05-21 05:22, Juancarlo Añez wrote:
>
This is a good summary of the choices. I think the second one is a good
compromise. More elegant, yet avoiding the problems with assignment-expressions
available everywhere.
It is true that := handles more (perhaps less-common) use cases, but
subjectively it is not as "Pythonic." Also doesn't appear to be the direction
the surveyed languages are going.
YMMV,
-Mike
More information about the Python-ideas
mailing list