&gt; Or you could use a decent editor, that keeps track of variable scopes.<p>Are you suggesting doing a find &#x2F; grep inside the context of a current scope? Or just color codes &#x2F; indents &#x2F; marks in some way the scope? That works to a degree if an editor can do that though that still doesn&#x27;t ultimately help the fact that it&#x27;s a single file that you may need to search around for something. Plus not every environment will have your favorite editor setup how you like it.