><span class="n">GridLocation</span></code>), and uppercase names of constants (<code class="language-c++ highlighter-rouge"><span class="n">MAX_WIDTH</span></code>). Conventions allows reader to quickly determine which category a given identifier belongs to.</li>
</ul>

<h2 id="variable-scope">Variable scope</h2>
<ul>
  <li><strong>Scope:</strong> Declare variables in the narrowest possible scope. For
 example, if a variable is used only inside a loop, declare it inside the scope for the loop body rather t