1 matches bool, 2 matches long

deadalnix deadalnix at gmail.com
Sun Apr 28 02:16:57 PDT 2013


On Sunday, 28 April 2013 at 09:05:06 UTC, deadalnix wrote:
> On Saturday, 27 April 2013 at 21:52:30 UTC, Walter Bright wrote:
>> On 4/27/2013 2:29 PM, Rob T wrote:
>>> If bools are 1 bit ints, then why do we have 'true' and 
>>> 'false' as keywords?
>>
>> Because writing cast(bool)0 and cast(bool)1 is unappealing.
>
> VRP say you don't need to.

Which is kind o funny, because we didn't had to wait for long 
before you felt in the trap as well. Hard to maintain it isn't 
confusing now . . .


More information about the Digitalmars-d mailing list