[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: upcoming changes in Lua 5.2 [was Re: Location of a package]
- From: "David Burgess" <dburgess@...>
- Date: Tue, 26 Feb 2008 16:20:42 +1100
I beg for the repeat behaviour to remain unchanged.
David B.
On Tue, Feb 26, 2008 at 4:43 AM, Shmuel Zeigerman <shmuz@actcom.co.il> wrote:
> Roberto Ierusalimschy wrote:
> > My point was not to present that as a reason to avoid 'continue', but to
> > present a real example of how simple and innocent changes to a language
> > can have hidden and pernicious side effects.
>
> Yes, I was aware of that, just that the change in question proved to be
> not-so-innocent :)
>
> While we're on this topic, there's another possibility:
> introduce 'continue' for 'while' and 'for' loops and make it invalid in
> 'repeat' loops (compile-time error). This would have a benefit of
> keeping backward compatibility.
>
> --
> Shmuel
>
- References:
- Location of a package, Ignacio Burgueño
- Re: Location of a package, Fabien
- Re: Location of a package, Roberto Ierusalimschy
- Re: Location of a package, eugeny gladkih
- upcoming changes in Lua 5.2 [was Re: Location of a package], Roberto Ierusalimschy
- Re: upcoming changes in Lua 5.2 [was Re: Location of a package], Shmuel Zeigerman
- Re: upcoming changes in Lua 5.2 [was Re: Location of a package], Roberto Ierusalimschy
- Re: upcoming changes in Lua 5.2 [was Re: Location of a package], Shmuel Zeigerman
- Re: upcoming changes in Lua 5.2 [was Re: Location of a package], Roberto Ierusalimschy
- Re: upcoming changes in Lua 5.2 [was Re: Location of a package], Shmuel Zeigerman