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

[Python-Dev] PEP 572: Assignment Expressions

[Python-Dev] PEP 572: Assignment Expressions [Python-Dev] PEP 572: Assignment ExpressionsBarry Warsaw barry at python.org
Wed Apr 18 14:04:01 EDT 2018
On Apr 18, 2018, at 10:43, MRAB <python at mrabarnett.plus.com> wrote:

> Some languages use '=' for assignment, others for equality, but do you know of a language that uses ':=' for equality' or '==' for assignment?

Clearly we should take a page from the ternary operator and make the assignment expression operator just ugly enough that people won’t overuse it.  Since I can’t have ‘>>’ or ‘<>’ back, I propose ‘=======‘.

go-ahead-count-‘em-every-time-ly y’rs,
-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180418/8d551ee1/attachment.sig>
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