lua-users home
lua-l archive

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


Chris Marrin wrote:

> I was pissed off at first that 0 tested true in Lua.
> [...]  But I am not too mad about it.

In my humble opinion, the only languages that have an excuse
for making 0 test false are those that don't have a "nil" or
"false" value (or can't use them in certain circumstances
because of static typing).

-- 
Aaron