, scattering other <code class="language-c++ highlighter-rouge"><span class="k">return</span></code> throughout the function is not a good idea‚Äì experience shows they are responsible for a disproportionate number of bugs. It is easy to overlook the early-return case and mistakenly assume the function runs all the way to its end.</p>
  </li>
  <li>
    <p><strong>Always include <code class="language-c++ highlighter-rouge"><span class="p">{}</span></code> on control statements:</strong> The body an <cod