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-July/154464.html below:

[Python-Dev] Symmetric vs asymmetric symbols (was PEP 572: Do we really need a ":" in ":="?)

[Python-Dev] Symmetric vs asymmetric symbols (was PEP 572: Do we really need a ":" in ":="?) [Python-Dev] Symmetric vs asymmetric symbols (was PEP 572: Do we really need a ":" in ":="?)Greg Ewing greg.ewing at canterbury.ac.nz
Fri Jul 6 21:03:06 EDT 2018
Ivan Pozdeev via Python-Dev wrote:
> (while "<>" reads "less or greater" which is mathematically not 
> equivalent to that: not everything has a defined ordering relation.

I think this is a silly argument against "<>". If we're going to try
to assign meaning to individual characters in an operator, we could
equally well say that "!" on its own should mean "not", which it
doesn't in Python. Whereas "~" does, kind of, so "not equal" should
be spelled "~=".

 > "<>"
 > draws from BASIC AFAIK which was geared towards regular users who don't
 > deal with advanced mathematics.)

Criticising something because it comes from BASIC smacks of snobbery.
Anyway, it's also used by a number of entirely respectable languages
such as Pascal and SQL.

And what proportion of Python users deal with advanced mathematics?

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