[Python-ideas] Inline assignments using "given" clauses

Chris Angelico rosuav at gmail.com
Fri May 11 18:04:17 EDT 2018


On Sat, May 12, 2018 at 7:56 AM, Ed Kellett <e+python-ideas at kellett.im> wrote:
>> *Readability:*
>> A smaller point is that I don't feel that ":=" is very readable. If we had
>> to use an operator, I think $= is better, but me reasoning for this is
>> weak. I think it derives from my observation that ":=" is slow to
>> distinguish from "=".
>
> Clearly the objectively best choice is "<-".

It's already legal syntax. That's an advantage, right?

ChrisA


More information about the Python-ideas mailing list