1 matches bool, 2 matches long

Rob T alanb at ucora.com
Fri Apr 26 22:41:38 PDT 2013


On Saturday, 27 April 2013 at 01:37:22 UTC, deadalnix wrote:
> On Friday, 26 April 2013 at 19:22:51 UTC, Walter Bright wrote:
>> I remember once a language that tried to define true and false 
>> as something other than 1 and 0. It was horrible.
>
> Don't need to look far away. Most shell do that.

D can still cast true to 1 and false to 0. It is solely the 
implicit casting that is inappropriate under rather common 
circumstances.

--rt


More information about the Digitalmars-d mailing list