title: Is it appropiate the statement. if (0 != expression or variable) {} in java?
body: <p>I'm working on a java source code that has the style: </p>
  
  <pre><code>if (0 == var) {}
  and 
  if (null == someObj) {}
  </code></pre>
  
  <p>or</p>
  
  <pre><code>if (0 != var) {}
  and 
  if (null != someObj) {}
  </code></pre>
  
  <p>Should I rewrite it to:</p>
  
  <pre><code>if (var == 0) {}
  and 
  if (someObj == null) {}
  </code></pre>
  
  <p>?</p>
  
  <p>Thanks in advance!.</p>