I don&#x27;t find much validity to this argument that constantly comes up. Out of the box, you have two options and neither are bad... (1) Make your variable package&#x2F;public&#x2F;protected scope and refactor one day if you have to. (2) Use getters&#x2F;setters, possibly with shorter names (if your fancy framework allows that) and more terse formatting.<p>Is this so bad?<p><pre><code>  int size(){ return size; }
  void size(int newSize){ size = newSize; }
</code></pre>
The setter shouldn&#x27;t be so common anyhow because immutability is better.<p>Besides, if you have a thousand getter&#x2F;setters then your problem might not be Java.