[Python-ideas] Inline assignments using "given" clauses
Guido van Rossum
guido at python.org
Fri May 11 12:25:46 EDT 2018
Maybe you could propose some kind of syntax using "whereas"? (It can be
used as a preamble.)
On Fri, May 11, 2018 at 3:05 AM, Greg Ewing <greg.ewing at canterbury.ac.nz>
wrote:
> Guido van Rossum wrote:
>
>> I'd need well-reasoned explanations
>>
>
> My reasoning is essentially the same as what I've already
> said about "where". To summarise, "given" sounds like
> something an English-speaking mathematician would write,
> whereas ":=" doesn't even have an obvious pronunciation.
> Some variation on "given" just seems greatly more pythonic
> to me.
>
> --
> Greg
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
--
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180511/d6443de1/attachment.html>
More information about the Python-ideas
mailing list