lua-users home
lua-l archive

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

On Sun, 12 Sep 2010 18:36:31 +0200, David Kastrup <> wrote:
> Pierre Chapuis <> 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.