DMD 0.148 release

Ivan Senji ivan.senji_REMOVE_ at _THIS__gmail.com
Sun Feb 26 16:57:34 PST 2006


Georg Wrede wrote:
> Ivan Senji wrote:
> 
>> Georg Wrede wrote:
> 
> 
>> That is one part I didn't understand. Why would booleans have to be 0 
>> or 1? (or are you kidding, I'm too tired to be sure).
> 
> 
> Since anything stored on a computer is representable with numbers, then 
> we could of course have true be 27 and false be 41.

Starting to like this proposal but I would prefer true to be 42 (being 
the answer to the universal question of everything)

> 
> But is there any profit in it, compared to 0 and 1?

Only the above.



More information about the Digitalmars-d-announce mailing list