I have a codebase where developers decided to use AND and OR instead of && and ||.
AND
OR
&&
||
I know that there is a
For safety, I always parenthesise my comparisons and space them out. That way, I don't have to rely on operator precedence:
if( ((i==0) && (b==2)) || ((c==3) && !(f==5)) )