lua-users home
lua-l archive

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


> On Tue, 28 Jun 2011, Roberto Ierusalimschy wrote:
> >- restrictions on labels is back to one-use-per-block. It is useful to
> >be able to isolate a piece of code (e.g., a state machine) inside a
> >pair do-end and be sure that its labels do not interfere with external
> >labels. For those that think that homonymous labels are confusing (with
> >good reason), simply do not use homonymous labels. It is easy to avoid
> >and easy to spot.
> 	I think the problem is not with our own code, but with others'.

This will always be a problem. Bad identation, poor variable names,
bad parenthesization, etc. The list is long. We will not stop bad
code with arbitrary rules.

-- Roberto