Deprecate `!a == b`

Nick Treleaven nick at geany.org
Mon Aug 19 16:06:12 UTC 2024


On Monday, 19 August 2024 at 12:23:13 UTC, Patrick Schluter wrote:
> On Tuesday, 13 August 2024 at 21:02:28 UTC, Nick Treleaven 
> wrote:
>> The diagnostic doesn't need to fire when both sides are bool.
>
> Comparing bools is an anti-pattern.

Yes, but doing that does not need to require brackets. Brackets 
wouldn't make that any better.


More information about the dip.ideas mailing list