concept condition in category software development
appears as: condition, conditions, conditions, condition

This is an excerpt from Manning's book Five Lines of Code.
We don’t have control over any of the three data types in the conditions:
KeyboardEvent,number, andstring. As mentioned, theseelse ifchains should be directly connected to I/O, which should be separated from the rest of the application.
Conditions should always be pure.
5.3.3. Using condition arithmetic
Working with conditions according to the rules in figure 5.1 is powerful. Consider our condition from
updateTile: we first transform it into a math equation, after which we can easily use familiar arithmetic rules to simplify it and then transform it back into code. This transformation is illustrated in figure 5.2.