At a code level, having the increment afterwards duplicates the variable, then increments the variable, and then returns the copy. This value then gets destroyed since it is not used.

So in practice, it is better to use increment before because a copy is not made.

And while most compilers are smart enough to optimize it away, its just better to increment before if you don't need the previous value for anything.