 them.</p>
<p>This example also illustrates another benefit of smaller functions: we reused the <code>getUserNames</code> function we had created above.</p>
<hr>
<h3 id="why-not-callbacks"><a href="#why-not-callbacks">Why not callbacks</a></h3>
<p>Callbacks are another mechanism for working with asynchrounous computations, and are indeed more adequate to use if an asynchronous computation may occur more than one time (for example, an <code>onscroll</code> event handler).</p>
<p>However, for asynchronous com