lua-users home
lua-l archive

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


On Thu, Nov 18, 2010 at 03:35, Enrico Colombini <erix@erix.it> wrote:
> On 18/11/2010 6.27, steve donovan wrote:
>>>>
>>>> (1) "continue" statement
>>>> (2) LPEG has not been merged in.
>>>
>>> It's probably a bit excessive to put them on the same level :-)
>>
>> Yes, because LPEG has always worked well as an extension. Why the need
>> to have it in the core?
>
> To make myself clearer, "continue" looks to me like a very minor "goto"-like
> speed improvement (and one I can happily live without, as I did for 40 years
> of programming, because I prefer clean code even at the price of an extra
> variable - I know other people see things differently).

This is a matter of programming taste, of course, but judging by
number of discussions on this mailing list devoted to "continue"
statement it is considered important and non-trivial by quite a few
people.
Coming from C/C++ background I greatly miss "continue".
I can emulate continue with "repeat ... break... until(true)"
construct but in this case I cannot use "break" in its original
meaning anymore. IMHO, as far as Lua control structures are concerned,
lack of "continue" is my biggest annoyance.

--Leo--