title: Check if variable null before assign to null?
body: <p>Is variable assignment expensive compared to a null check? For example, is it worth checking that foo is not null before assigning it null?</p>
  
  <pre><code>if (foo != null) {
       foo = null;
  }
  </code></pre>
  
  <p>Or is this worrying about nothing?</p>