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.

I would expect boolean literals to be something like 0b and 1b, not true and false then.

Reply via email to