lua-users home
lua-l archive

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



Some of the background on http://docs.python.org/dev/whatsnew/ pep-308.html sounds _more_ than familiar...

"There have been endless tedious discussions of syntax .."

"Candidates included C's cond ? true_v : false_v, if cond then true_v else false_v, and 16 other variations." (16!)



"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. ;)

-asko