Don't play the precedence game

If you&rsquo;ve ever done any math, you are familiar with operator precedence, even if you don&rsquo;t know that word. The result of the mathematical expression 2 + 1 * 3 is 5 and not 9, because the right multiplication expression is evaluated first, so we get 2 + (1 * 3) . The mathematical ordering for this is exponents, multiplication/division, and then addition/subtraction (sometimes known as…