title: pre-increment vs post-increment - for-loop speed
body: <p>I never saw a tutorial or some lecture, which showed a classic for-loop witout the post-increment-order.</p>
  
  <pre><code>for (int i=0; i&lt;array.length; i++) {}
  </code></pre>
  
  <p>If you use POST-increment, the variable "i" will be cached, before it will get incremented! But this makes no sense, because the command ends directly.</p>
  
  <p>In my opinion, this makes more sense:</p>
  
  <pre><code>for (int i=0; i&lt;array.length; ++i) {}
  </code></pre>
  
  <p>If you didn't understand until now, I go a bit further (sry for my english):</p>
  
  <p><strong>In the first loop:</strong></p>
  
  <ol>
  <li>Cache the actual value of i. (note: no move between, so no reason to do this)</li>
  <li>Increment i</li>
  <li>Go ahead</li>
  </ol>
  
  <p><strong>In the second loop:</strong></p>
  
  <ol>
  <li>Increment i directly</li>
  <li>Go ahead.</li>
  </ol>
  
  <p>So the second loop is more performant for no quality loss. Any other opinions?</p>