A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-April/152796.html below:

[Python-Dev] PEP 572: Assignment Expressions

[Python-Dev] PEP 572: Assignment Expressions [Python-Dev] PEP 572: Assignment ExpressionsEthan Furman ethan at stoneleaf.us
Fri Apr 20 11:35:03 EDT 2018
On 04/20/2018 08:07 AM, Chris Barker - NOAA Federal wrote:
>On 04/20/2018 04:25 AM, Christoph Groth wrote:

>> 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.

Unless it's a bug magnet, that doesn't strike me as a good reason NOT to do this.

--
~Ethan~

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4