+ 1
They do the same thing in a for loop. ++i and i++ work exactly the same inside of a for loop. I read somewhere that using the prefix method will very very slightly improve performance at HUGE scales.
18th Apr 2018, 7:28 PM
Zeke Williams
Zeke Williams - avatar