[Python-ideas] Modern language design survey for "assign and compare" statements

Mike Miller python-ideas at mgmiller.net
Sat May 19 18:44:12 EDT 2018


On 2018-05-18 18:10, Chris Angelico wrote:
> The bit that you tag on as an afterthought is actually critically
> important here. You have two options:
> 
> 1) The 'as' is part of the syntax of the 'if' and 'while' statements; or

This first choice appears the more conservative compromise that several have 
chosen (substituting "as" with "let"), only as part of the these two statements.

-Mike


More information about the Python-ideas mailing list