News for hackers. Stuff that matters.
Re:Google broke a conditional statement that verifies passwo... by kps on Thursday July 22, 2021 @04:49PM (#27924133)
I'm quite surprised there isn't a compiler warning for a bitwise operator at the root of a condition. I've been writing `if ((flags & FLAG) != 0)` for decades years for nothing?!?
Re:Google broke a conditional statement that verifies passwo... by exikyut on Friday July 23, 2021 @04:49AM (#27928593)
Hmm. In all seriousness, you could probably build a lint rule/tool to allow only the format you note.