[Python-ideas] Updating PEP 315: do-while loops

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Apr 26 13:23:46 CEST 2009


Raymond Hettinger wrote:

> Though I would like a fair hearing for the "do ... while <cond>:" proposal.
> To my eyes, it has clear meaning

I think that's only because you already know what it's
supposed to mean.

To me, it's very far from clear that the "..." means
"the expression after this really goes way down there
after the suite".

Also, anything which only addresses test-at-bottom and
not test-half-way-through only covers a very small
proportion of use cases, IMO.

-- 
Greg



More information about the Python-ideas mailing list