[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Ternary operator patch
- From: Alexander Gladysh <agladysh@...>
- Date: Sat, 11 Sep 2010 10:18:39 +0400
On Sat, Sep 11, 2010 at 01:01, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> On Fri, Sep 10, 2010 at 2:42 AM, David Kastrup <dak@gnu.org> wrote:
>> > Do you really think you can keep children from growing up?
>> Can you be less cryptic please, and explain what you think the
>> long-term issues are? I think this is a useful addition too.
> I have an issue, but I am not sure it is a "long-term" one. I think
> the proposed syntax, without "end", will be quite confusing to some
> people, given that the almost identical if command must have "end".
I second this.
> On the other hand, a syntax with "end" is cumbersome.
Do we *really* need a ternary operator in Lua?
Alexander.
- References:
- Re: Ternary operator patch, steve donovan
- Re: Ternary operator patch, Henk Boom
- Re: Ternary operator patch, steve donovan
- Re: Ternary operator patch, Geoff Leyland
- Re: Ternary operator patch, steve donovan
- Re: Ternary operator patch, Miles Bader
- Re: Ternary operator patch, David Kastrup
- Re: Ternary operator patch, Miles Bader
- Re: Ternary operator patch, David Kastrup
- Re: Ternary operator patch, Jonathan Castello
- Re: Ternary operator patch, Roberto Ierusalimschy