DMD 0.148 release

Ivan Senji ivan.senji_REMOVE_ at _THIS__gmail.com
Mon Feb 27 08:05:50 PST 2006


Deewiant wrote:
> Ivan Senji wrote:
> 
>>One more thing. I heared from a Ruby user that in Ruby 0 means true.
> 
> 
> To clarify, since that makes it sound a bit too much like "...and 1 means
> false": in Ruby the only two things that are false are, of course, false itself,
> and nil, which is similar to D's null. 0, like all other numbers, is true.

Thanks for the clarification. It is really interesting how Ruby takes a 
completly different approach. Not that I agree with it. Strange and 
arbitrary decision IMO to make all numbers true. Why not make all 
numbers false?




More information about the Digitalmars-d-announce mailing list