lua-users home
lua-l archive

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

In message <>
you wrote:

> "Guido van Rossum eventually chose a surprising syntax:
> x = true_value if condition else false_value"
> I am _NOT_ suggesting Lua to do the same.  But bringing this up,  
> since it does seem relevant.  And weird. ;)

See J.W.Backus "The algebra of functional programs; ... "
LNCS 107 pp 1-43 (1981) for the advantages of this syntax.
There was an article in Byte magazine around the same time,
where the same point was made.

Gavin Wraith (
Home page: