How to make logical expressions
- Do not use ! (NOT) operator. Swap the exits of the "Question" icon instead.
- Do not use && (AND) operator. Use the "ladder" visual logical formula.
- Do not use || (OR) operator. Use the "stairs" visual logical formula.
The essential advantage of the visual logical formulas over the textual logical operators is readability. With a visual formula, one can trace all the paths through the expression with a finger.
The visual logical formula for AND ("ladder"):
The visual logical formula for OR ("stairs"):