Deprecate `!a == b`

IchorDev zxinsworld at gmail.com
Wed Aug 14 18:27:53 UTC 2024


On Wednesday, 14 August 2024 at 14:48:42 UTC, user1234 wrote:
> Well, just wanna say that this is an easy check to implement in 
> Dscanner. That does not require any context. Just match the 
> pattern in the AST and issue a warning.

Sounds like a better idea to do that. I’m not a fan of having 
more ‘it’s unintuitive therefore we’ll force the code to be 
unreadable’ features like bitwise operators requiring 
parenthesisation.


More information about the dip.ideas mailing list