Conditional styles: if (0 == resultIndex) vs if (resultIndex ==0)
<p>Most of us write conditionals like: </p>

<pre><code>if (resultIndex == 0)
</code></pre>

<p>...but occaisionally I come across someone writing them like:</p>

<pre><code>if (0 == resultIndex)
</code></pre>

<p>...and interestingly those people have been authors and seemingly pretty hot coders.</p>

<p>So why do some people choose the 'backwards' style? Is there some history behind it? Readabililty?</p>

<p>Thanks in advance for your feedback!</p>

<p><hr /></p>

<p>Duplicate: <a href="http://stackoverflow.com/questions/271561/why-does-one-often-see-null-variable-instead-of-variable-null-in-c">Why does one often see “null != variable” instead of “variable != null” in C#?</a>.</p>
