title: Using int vs Integer
body: <p>I came across a class using Integer variables to capture size to be used in a for loop. Is this good practice or should we use the int primitive data type?</p>
  
  <pre><code>Integer size = something.getFields().size();
  for (Integer j = 0; j &lt; size - 1; ++j) 
  </code></pre>