[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: More on environments and objects
- From: "Aaron Brown" <aaron-lua@...>
- Date: Sat, 27 Aug 2005 11:13:04 -0400
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).