PEP 572: Delete objection about ugly code (#717)

See https://twitter.com/asmeurer/status/1016522016160022528
This commit is contained in:
Guido van Rossum 2018-07-10 06:23:29 -07:00 committed by Nick Coghlan
parent d18a264e4b
commit 44ee870453
1 changed files with 0 additions and 7 deletions

View File

@ -815,13 +815,6 @@ between ``if (x == y)`` and ``if (x = y)`` belies their drastically different
semantics. Thus this proposal uses ``:=`` to clarify the distinction.
This could be used to create ugly code!
---------------------------------------
So can anything else. This is a tool, and it is up to the programmer to use it
where it makes sense, and not use it where superior constructs can be used.
With assignment expressions, why bother with assignment statements?
-------------------------------------------------------------------