0
Less lines of code is not always better. More readable code is always better though. If extra lines are making the code inefficient, then that could be a case to cut lines. However, in this case, i++ is not repeating anything unnecessary so putting it on its own line is just making it easier to understand what is going on.
29th Sep 2016, 1:45 AM
Ryne
Ryne - avatar