
While the C-style for loop syntax is badly designed from a don't repeat yourself perspective, it does offer an advantage over many other languages' loop designs: it makes it easy to specify that a loop should exit when the index reaches a certain value, as opposed to indicating that it should exe...