Should I check to see if an object is null first or second?
<p>Say for example that I create a Duck</p>

<pre><code>Duck myDuck = DuckFactory.CreateDuck();
</code></pre>

<p>In the past I've always check to see if myDuck is null</p>

<pre><code>if (myDuck == null)
{
  // Do stuff
}
</code></pre>

<p>I've recently looked at some code that check for null first.</p>

<pre><code>if (null == myDuck)
{
   // Do stuff
}
</code></pre>

<p>It seems to me that these are the same, but are there any differences between these two?  Is there any performance benefits to one over the other?  Is there a recommended best practice for checking if an object is null?</p>
