[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: I'd give my right arm for a continue statement
- From: Mark Hamburg <mark@...>
- Date: Sun, 23 Jan 2011 10:16:10 -0800
Three seemingly simple answers to the repeat/until v continue problem (in order of decreasing harshness but more complex definitions):
* Disallow continue in repeat/until loops
* Disallow continue in repeat/until loops where the loop condition references a variable declared inside the loop
* Disallow continue if it makes the loop condition reference variables that might not have been declared
I would say I don't really care about this issue all that much, but I do use the break as continue trick a bit more often than feels legitimate for someone who doesn't care.
Mark
- References:
- I'd give my right arm for a continue statement, Steve Litt
- Re: I'd give my right arm for a continue statement, steve donovan
- Re: I'd give my right arm for a continue statement, HyperHacker
- Re: I'd give my right arm for a continue statement, Michal Kottman
- Re: I'd give my right arm for a continue statement, steve donovan
- Re: I'd give my right arm for a continue statement, Axel Kittenberger
- Re: I'd give my right arm for a continue statement, David Kastrup
- Re: I'd give my right arm for a continue statement, GrayFace
- Re: I'd give my right arm for a continue statement, T T
- Re: I'd give my right arm for a continue statement, David Kastrup