News for hackers. Stuff that matters.
Re:New IDE: code bubbles by sukuriant on Wednesday March 10, 2010 @10:57PM (#1182887)
If you really want to get picky, return foo.bar().baz().qux() * 2;

Could become:

  Bar bar = foo.bar();
  if(bar == null) handleBarNull();
  else { 
     Baz baz = bar.baz();
     if(baz == null) handleBazNull();
     else { 
        //(assuming qux is a value)
        return baz.qux() * 2;
     }
  }

There are no comments on this comment yet.