lua-users home
lua-l archive

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



Was quite hard, actually, to find some.. Maybe because many of the traps are by now so familiar that avoiding them is a second nature.

However, if the Lua fairies ;) are listening, I'd suggest a better "cond ? a:b" notation that the current "cond and a or b" is. The shortcoming being, 'a' may not be 'false' or 'nil'.

-ak