[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Next Version of Lua?
- From: Javier Guerra <javier@...>
- Date: Wed, 10 Jun 2009 15:38:36 -0500
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
- References:
- Next Version of Lua?, Olivier Hamel
- Re: Next Version of Lua?, Jim Whitehead II
- Re: Next Version of Lua?, Olivier Hamel
- Re: Next Version of Lua?, Luiz Henrique de Figueiredo
- Re: Next Version of Lua?, Joshua Jensen
- Re: Next Version of Lua?, Roberto Ierusalimschy
- Re: Next Version of Lua?, Asko Kauppi
- Re: Next Version of Lua?, Enrico Colombini
- Re: Next Version of Lua?, Petite Abeille
- Re: Next Version of Lua?, Sam Roberts