[Python-Dev] PEP 572: Assignment Expressions
Chris Barker - NOAA Federal
chris.barker at noaa.gov
Fri Apr 20 11:07:22 EDT 2018
> Personally, I even slightly prefer
>
> a := 3
>
> to the commonplace
>
> a = 3
> because it visually expresses the asymmetry of the operation.
Careful here! That’s a fine argument for using := in a new language,
but people using := when they don’t need an expression because they
like the symbol better is a reason NOT to do this.
And yes, normally aspirated Pascal WAS my first programming language. :-)
-CHB
More information about the Python-Dev
mailing list