[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: why no "continue" statement for loops?
- From: "Bilyk, Alex" <ABilyk@...>
- Date: Wed, 18 Jun 2003 14:41:21 -0700
It does strike me as well as the more complex at source level, which matters a lot on bigger project with. But than it's a trick and it only makes sense that it reads like one. Alex
From: Curt Carpenter [mailto:firstname.lastname@example.org]
Sent: Wednesday, June 18, 2003 2:09 PM
To: Lua list
Subject: RE: why no "continue" statement for loops?
>> It doesn't look similar to me. One has two loops, the other has one.
>> extra loop adds complexity.
> The inner loop is the only difference I can see.
> It does not add complexity as the inner loop is _always_ executed only
> Since the inner loop is finished with a break, it will never have a
> for a second execution.
I was referring primarily to the complexity of the source code, not the