lua-users home
lua-l archive

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


On 22 Jun 2011, at 18:14, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:

>> - disallow a definition of a label if that label is already visible in
>> the scope.
> 
> this seems a nice compromise between one-per-function and one-per-block.

I agree. I also like the argument that block scope makes code more composable - easier for automated code generators and for formal analysis.

Tony.
--
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/