[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Ternary operator patch
- From: Pierre Chapuis <catwell@...>
- Date: Mon, 13 Sep 2010 11:41:26 +0200
On Sun, 12 Sep 2010 18:36:31 +0200, David Kastrup <dak@gnu.org> wrote:
> Pierre Chapuis <catwell@archlinux.us> writes:
>> a = b ? x : y
> If we wanted our languages to resemble line noise, APL would be much
> more popular.
That's the syntax used in C and Ruby, are they not popular?
Now I tend to agree with those who say Lua just doesn't need a ternary
operator, but what I'm saying is that if one is to be implemented it
should have a short syntax.
- 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
- Re: Ternary operator patch, Alexander Gladysh
- Re: Ternary operator patch, Duncan Cross
- Re: Ternary operator patch, Eric Man
- Re: Ternary operator patch, Pierre Chapuis
- Re: Ternary operator patch, David Kastrup