while expression feature proposal

Evan Driscoll driscoll at cs.wisc.edu
Wed Oct 24 19:19:54 EDT 2012


On 10/24/2012 05:26 PM, Cameron Simpson wrote:
> But I'm still -0 on it, because it supplants the glaringly obvious:
> 
>   m = ...
> 
> assignment with the far less in your face:
> 
>   possibly-long-expr as m
> 
> and I think it would get quite heavily used, to the detriment of
> assignment readability in general. At present the nature of most effects
> is at the left. An assignment is obvious on the left, an if/with/while/etc
> is visible at the left.

In the interest of brainstorming, what about

   while VAR from EXPR:

or something like that? I don't think I like 'from' on a couple counts,
but there's probably some word that fits.

Evan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20121024/b3c34a91/attachment.sig>


More information about the Python-list mailing list