title: Is define setter and getter in .h cause codes more or less readable?
body: <p>I have some straight habits (I think) to write getter and setter in c++:</p>
  
  <ol>
  <li><p>I usually like to define getters and setters in .h instead of .cpp, just because I think .cpp usually have more codes than .h, I want to balance the number of codes in .h and .cpp. Also I think getter and setter are less frequent change than other functions.</p></li>
  <li><p>I usually mark getters and setters "inline", but not for performance purpose: just only use "inline" as marker of getter and setter, when I see "inline" I can know it is a getter or a setter method rapidly. So I will prevent "inline" other methods because "inline" is just use as marker to separate getter and setter from other methods.</p></li>
  </ol>
  
  <p>But after some time, I found seems no people would put getter and setter in .h. Also it seems uncommon to inline getters and setters.</p>
  
  <p>Is the habit really improve readability or only results in less understandable and less reasonable code?</p>