expressions are prone to redundant/awkward constructions. Prefer concise and direct alternatives. A boolean value <strong>is</strong> true or false, you do not need to further compare to true/false or convert a boolean expression to true/false.</li>
</ul>

<div class="language-c++ bad col-sm-6 highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">if</span> <span class="p">(</span><span class="n">isWall</span> <span class="o">==</span> <span class="nb">true</span><span class=