[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: why no "continue" statement for loops?
- From: "Nick Trout" <nick@...>
- Date: Tue, 17 Jun 2003 15:27:59 -0700
> Lack of switch is not so bad since you can replace that with
> 'elseif's or even a lookup table, for that matter (which is a very
lua-like way
> of doing it..)
Just for the record, I wasn't advocating adding a switch statement, it
was merely and observation. I don't really miss it:
http://lua-users.org/wiki/SwitchStatement
I don't really miss continue either. It tends to be useful for things
like parsing but I haven't done an awful lot of that - most of my tools
are still in Python, which does has continue! :-)
--nick