Nov 7 · 1 min read
I would love to see an example of the use of i++ or ++i where i is not a primitive type. Or even a primitive that isn’t an integer. You said it in your own article, the compiler handles the optimization for you, I don’t think it’s necessary to change the use of i++ in for loops.
