title: Why is order of expressions in if statement important
body: <p>Suppose I have an <code>IF</code> condition : </p>
  
  <pre><code>if (A || B) 
      ∧
      |
      |
     left
  { 
     // do something  
  }
  </code></pre>
  
  <p>Now suppose that <code>A</code> is more likely to receive a true value then <code>B</code> , why do I care which one is on the left ? </p>
  
  <p>If I put both of them in the <code>IF</code> brackets , then I know (as the programmer of the code) that both parties are needed .</p>
  
  <p>The thing is , that my professor wrote on his lecture notes that I should put the "more likely variable to receive a true" on the left .</p>
  
  <p>Can someone please explain the benefit ? okay , I put it on the left ... what am I gaining ? run time ? </p>