in reply to 'or' vs '', '&&' vs 'and'
For the examples you gave, I like to use 'and' and 'or' instead of '&&' and '||', and I use parentheses.
The parens allow me to forget which set has higher precedence.
And I like the 'and' and 'or' because they are more natural.
|
|---|