This is an interesting lesson to computer programmers on why it’s good to use parentheses liberally within logical statements to remove ambiguity regarding operator precedence and order of evaluation.
Only for human consumption. The computer is fine without parentheses.