[Python-Dev] Withdrawn PEP 288 and thoughts on PEP 342
Barry Warsaw
barry at python.org
Fri Jun 17 15:34:35 CEST 2005
On Fri, 2005-06-17 at 00:43, Raymond Hettinger wrote:
> Let me go on record as a strong -1 for "continue EXPR". The for-loop is
> our most basic construct and is easily understood in its present form.
> The same can be said for "continue" and "break" which have the added
> advantage of a near zero learning curve for people migrating from other
> languages.
>
> Any urge to complicate these basic statements should be seriously
> scrutinized and held to high standards of clarity, explainability,
> obviousness, usefulness, and necessity. IMO, it fails most of those
> tests.
>
> I would not look forward to explaining "continue EXPR" in the tutorial
> and think it would stand out as an anti-feature.
I'm sympathetic to this argument. I also find yield expressions
jarring. I don't have any better suggestions though.
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20050617/1d15dc92/attachment.pgp
More information about the Python-Dev
mailing list