[Python-ideas] Modern language design survey for "assign and compare" statements
marcidy at gmail.com
Sun May 20 01:19:12 EDT 2018
On Sat, May 19, 2018, 11:07 Kirill Balunov <kirillbalunov at gmail.com> wrote:
> I think I have a very strong argument "why are not others valid" - Because
> already three months have passed and among 1300+ messages there was not a
> single real example where assignment expression would be convenient or
> useful outside `while` and `if` statements. If you have a counterargument
> (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.
How about every example brought up in 1300+ messages that assignment
expressions could handle that otherwise required far more code? Some
Did you miss where _every_ counter example was either doing what assignment
expressions do with more code, or where outright misunderstandings of how
they will work? Did you read Chris' responses where he clearly refused
Really hard to see how you got that take away if you read those messages.
Basically you are not backed up at all by citing that.
assignment expressions handle many cases with ONE syntax. They are the
"one way to do it" where "it" covers every example brought up so far.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas