[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: I'd give my right arm for a continue statement
- From: T T <t34www@...>
- Date: Thu, 27 Jan 2011 17:16:51 +0000
On 27 January 2011 16:42, Roberto Ierusalimschy <email@example.com> wrote:
>> > I believe that this "break N" will kill code readability as sure as
>> > "goto" would.
>> Yeah, I would get lost pretty quick! Named labels would help [...]
> If that could save Steve's right arm, we like the idea of break with
Yes, that shall save Steve's body parts ;) Thanks for listening.
> There are several details that could change (other mark instead
> of colons, whether the label after break needs marks, whether an
> optional [or mandatory] label could be added after the corresponding
> 'end', etc.), but the basic idea would not change much.
I personally don't care about the details, as long as there is some
sensible way of doing continue at all. And if it will be possible to
do more than just simple continue, then so much better.