title: does the order of the operands to comparison operators matter?
body: <p>When checking if an object equals some value, is there some difference between:</p>
  
  <pre><code>myObject == someValue
  </code></pre>
  
  <p>or</p>
  
  <pre><code>someValue == myObject
  </code></pre>
  
  <p>In other words, does the order of the operands of the comparison operators matter? Is it a matter of coding style?</p>
  
  <p>I have been using the former, but a project has been using the latter which I had never seen before.</p>
  
  <p>For example</p>
  
  <pre><code>if (data != null)
      data.Write(writer);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>if (null != data)
      data.Write(writer);
  </code></pre>
  
  <p>I have been using the former, while some member in the project has been using the latter.</p>
  
  <p>Thanks.</p>