lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 27 January 2011 16:42, Roberto Ierusalimschy <roberto@inf.puc-rio.br> 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
> labels.

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.

Thanks again,

Tomek