<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged static-analyses</title>
<link>https://coderlegion.com/tag/static-analyses</link>
<description>Powered by Question2Answer</description>
<item>
<title>Shadow variable declarations are a subtle but common source of confusion in codebases.</title>
<link>https://coderlegion.com/8350/shadow-variable-declarations-are-a-subtle-but-common-source-of-confusion-in-codebases</link>
<description>&lt;p&gt;Shadow variable declarations are a subtle but common source of confusion in codebases.&lt;/p&gt;
&lt;p&gt;When a local variable uses the same name as one in an outer scope, it shadows the original, making the global value inaccessible and the code harder to read.&lt;/p&gt;
&lt;p&gt;Clear naming and avoiding shadowing keep your code predictable, maintainable, and easier for others (and future you!) to understand.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://coderlegion.com/?qa=blob&amp;amp;qa_blobid=3972122598767011318&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
</description>
<category>Bug Tracking</category>
<guid isPermaLink="true">https://coderlegion.com/8350/shadow-variable-declarations-are-a-subtle-but-common-source-of-confusion-in-codebases</guid>
<pubDate>Wed, 10 Dec 2025 13:27:22 +0000</pubDate>
</item>
</channel>
</rss>