title: Using function arguments as local variables
body: <p>Something like this (yes, this doesn't deal with some edge cases - that's not the point):  </p>
  
  <blockquote>
  <pre><code>int CountDigits(int num) {
      int count = 1;
      while (num &gt;= 10) {
          count++;
          num /= 10;
      }
      return count;
  }
  </code></pre>
  </blockquote>
  
  <p>What's your opinion about this? That is, using function arguments as local variables.<br>
  Both are placed on the stack, and pretty much identical performance wise, I'm wondering about the best-practices aspects of this.<br>
  I feel like an idiot when I add an additional and quite redundant line to that function consisting of <code>int numCopy = num</code>, however it does bug me.<br>
   What do you think? Should this be avoided?  </p>