title: Is returning null bad design?
body: <p>I've heard some voices saying that checking for a returned null value from methods is bad design. I would like to hear some reasons for this.</p>
  
  <p>pseudocode:</p>
  
  <pre><code>variable x = object.method()
  if (x is null) do something
  </code></pre>