title: Const qualifier in getter method
body: <p>Why getters and setters needs <code>const</code> qualifier? Ok, I suppose the one reason for setter method is to prevent <code>value</code> from changing in method body that allows make less errors. Looks not very reasonable for me, is that only for this reason? </p>
  
  <p>And I'm totally confused why I need it in getter method?</p>
  
  <pre><code>class turbo
  {
      int i = 10;
      public:
      void setI(const int value) {i=value}
      int getI()  const {return i;}
  }
  </code></pre>