Re:Google broke a conditional statement that verifies passwo...
by kevin_thibedeau on Thursday July 22, 2021 @07:12PM
(#27925455)
Whenever I see it I assume it's a typo. If it was truly intentional I would expect a comment pointing out why it's needed.
Really? I can't recall a single case of this with 'bool' in any codebase in my recent memory. I only see it with integers. And even if it's somehow routine for your codebases with bool (why?!), surely it's not routine inside a conditional expression, so at least they can prohibit it there?