bool (was DConf 2019 AGM Livestream)

Mike Franklin slavo5150 at yahoo.com
Tue May 14 19:47:20 UTC 2019


On Tuesday, 14 May 2019 at 15:40:19 UTC, Kagamin wrote:
> On Sunday, 12 May 2019 at 06:27:21 UTC, Nick Sabalausky 
> (Abscissa) wrote:
>> All this effort strongly implies that there's no such thing as 
>> a satisfactory bool type *in languages which conflate booleans 
>> with integers*
>
> FWIW I write C# for food and to me D bool is better than C# 
> bool. Didn't watch, but if it's about the DIP I think of, its 
> rationale was overload rules, Walter said he's not opposed to 
> tune them. It was derailed into discussion about strong bool?

At the time the DIP was written, we didn't know Walter conflates 
bool and bit.  Now that we do a new DIP could argue differently 
that bool and bit should not be conflated and that that would 
also fix the overload issues.

Mike


More information about the Digitalmars-d-announce mailing list