[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why do we have ipairs?
- From: Coroutines <coroutines@...>
- Date: Wed, 25 Jun 2014 22:00:09 -0700
On Wed, Jun 25, 2014 at 9:53 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> 2014-06-25 22:41 GMT+02:00 Axel Kittenberger <axkibe@gmail.com>:
>>> 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.
I would have jumped ship to JS or Python a long time ago because of
how anti-keyword and anti-syntax-sugar the Lua community is (at least
on the list), but I stay because it's easy to sandbox Lua and JS has
no real concept of operator overloading or sane scoping.
*tralahlah....*
(I bring up Javascript because I like how they use 'continue' like
'goto': continue; & continue some_label;)
- References:
- Why do we have ipairs?, Thiago L.
- Re: Why do we have ipairs?, Andrew Starks
- Re: Why do we have ipairs?, Coda Highland
- Re: Why do we have ipairs?, Thiago L.
- Re: Why do we have ipairs?, Daurnimator
- Re: Why do we have ipairs?, Thiago L.
- Re: Why do we have ipairs?, Axel Kittenberger
- Re: Why do we have ipairs?, Jay Carlson
- Re: Why do we have ipairs?, Axel Kittenberger
- Re: Why do we have ipairs?, Andrew Starks
- Re: Why do we have ipairs?, Axel Kittenberger
- Re: Why do we have ipairs?, David Demelier
- Re: Why do we have ipairs?, Axel Kittenberger
- Re: Why do we have ipairs?, Dirk Laurie