lua-users home
lua-l archive

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


On Wed, Jun 10, 2009 at 3:21 PM, Sam Roberts<vieuxtech@gmail.com> wrote:
> I use continue a lot in C, and never use repeat..until or do...while.

same here.

of course the 'correct' lexical scoping in Lua (as different from
'almost' lexical like Python or JS) makes defining extra code blocks
not as ugly as it's on other languages.  so, wrapping the 'skipped
over' block in a proper block is ok in Lua, ugly in C / Python.

IOW, i'd like to have continue, but not at the expense of special cases.

-- 
Javier