[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: Miles Bader <miles@...>
- Date: Mon, 24 Jan 2011 12:55:06 +0900
Leo Razoumov <slonik.az@gmail.com> writes:
>> Not at all. It would reenter the loop at the top.
>
> This makes perfect sense to me and leads to readable code. Skipping to
> the end-of-a-loop has potential scoping problems but skipping to
> beginning-of-a-loop seems to have none.
... at the expense of being inconsistent and confusingly different than
other languages...
-miles
--
History, n. An account mostly false, of events mostly unimportant, which are
brought about by rulers mostly knaves, and soldiers mostly fools.
- 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, David Kastrup
- Re: I'd give my right arm for a continue statement, Leo Razoumov