[swift-evolution] Review for: Remove C-style for-loops with conditions and incrementers

Rainer Brockerhoff rainer at brockerhoff.net
Sat Dec 12 12:15:56 CST 2015


On 12/12/15 13:44, Matthew Johnson wrote:
> I do think we need to consider whether “repeat” is the best keyword
> due to potential confusion with "repeat while” loops.  The advantage
> of using it is avoiding adding a new keyword.  The disadvantage is
> overloading its meaning.

Ouch. I had a vague idea I was overlooking some use of `repeat`, and
right, I'd forgotten about that usage. But other keywords would do, as I
said.

-- 
Rainer Brockerhoff  <rainer at brockerhoff.net>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
http://brockerhoff.net/blog/


More information about the swift-evolution mailing list