lua-users home
lua-l archive

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

On 26/06/14 05:53, Dirk Laurie wrote:
> 2014-06-25 22:41 GMT+02:00 Axel Kittenberger <>:
>>> Unfortunately it still does not explain why there is no continue in Lua
>>> but break exists. This is one of my major hate.
>> Yes, break should go away, its just bloating the language, it can just as
>> easily be modeled with a goto statement, as we don't need a continue since
>> we have goto.
> That's sarcasm, right? I'm still working on recognizing sarcasm.
If Dirk then goto sarcasm else goto reality end
I would suggest that repeat, while and for should be removed from the
language as they can be implemented with gotos. For some situations this
can even produce the exact same instructions.

A while back, I struggled to find one person that uses the goto keyword.


Attachment: signature.asc
Description: OpenPGP digital signature