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/2011-June/111834.html below:

[Python-Dev] cpython: Remove some extraneous parentheses and swap the comparison order to

[Python-Dev] cpython: Remove some extraneous parentheses and swap the comparison order to [Python-Dev] cpython: Remove some extraneous parentheses and swap the comparison order toTerry Reedy tjreedy at udel.edu
Wed Jun 8 04:43:32 CEST 2011
On 6/7/2011 5:35 PM, David Malcolm wrote:

> I know that this style is unpopular, but if it helps, try mentally
> pronouncing  "=="  in C as  "is the value of".
>
> In this example, when I read that line, my mind is thinking:
>
>     "if 'u' is the value of typecode"
>
> After ~12 years of doing this, it comes naturally.  I appreciate that
> this may come across as weird though :)

Whereas I read it as 'has the value' (or just 'is' ;=).

Not being tempted to reverse in Python is one advantage of not having 
assignment expressions.

-- 
Terry Jan Reedy

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