Deprecate `!a == b`

Timon Gehr timon.gehr at gmx.ch
Fri Aug 16 21:51:00 UTC 2024


On 8/16/24 17:48, IchorDev wrote:
> On Thursday, 15 August 2024 at 16:12:50 UTC, Timon Gehr wrote:
>> I can't say I ever wanted `a & b==c`.
> 
> In my dreams:
> ```d
> if(x & Flags.flag && y & Flags.flag){
>    //…
> }
> ```

Well, your dreams are true. This works.

> But reality we just put a bandage of frustration over C’s mistakes.

To some extent, but that's just what you get from C-inspired languages.


More information about the dip.ideas mailing list