title: Nodejs asynchronous confusion
body: <p>I can't seem to grasp how to maintain async control flow with NodeJs. All of the nesting makes the code very hard to read in my opinion. I'm a novice, so I'm probably missing the big picture. </p>
  
  <p>What is wrong with simply coding something like this...</p>
  
  <pre><code>function first() {
      var object = {
          aProperty: 'stuff',
          anArray: ['html', 'html'];
      };
      second(object);
  }
  
  function second(object) {
      for (var i = 0; i &lt; object.anArray.length; i++) {
          third(object.anArray[i]);
      };
  }
  
  function third(html) {
      // Parse html
  }
  first();
  </code></pre>