I think the example you show above is just using a second variable to try and explain what is going on - but is confusing matters further. Here's Google's explanation, which I think is helpful: Increment (++) The increment operator increments (adds one to) its operand and returns a value. If used postfix, with operator after operand (for example, x++), then it returns the value before incrementing. If used prefix with operator before operand (for example, ++x), then it returns the value afterincrementing. In place of your code: myCounter = myCounter++; I think you could just use: ++myCounter
... View more