bool (was DConf 2019 AGM Livestream)

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed May 15 00:23:44 UTC 2019


On 5/14/19 8:47 PM, Mike Franklin wrote:
> 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.

There are many clowny things in D, of which bool is at best somewhere 
beyond the radar. I suggest investing time * expertise in the larger ones.


More information about the Digitalmars-d-announce mailing list