title: Why should I not use `const` in this simple function?
body: <p>When learning C++, one of the first functions one gets for learning the concept of a function is something like</p>
  
  <pre><code>int add(int a, int b)
  {
      return a+b;
  }
  </code></pre>
  
  <p>Now I was wondering: Should I use the <code>const</code>-keyword here, or rather not, resulting in</p>
  
  <pre><code>int add(const int a, const int b)
  {
      return a+b;
  }
  </code></pre>
  
  <p>But would that make sense? Would it speed my program up, do some other important stuff, or just increase confusion?</p>