For Loops
Know
A for loop packages initialization, condition, and update in one header. The condition is checked before every pass, so a loop can run zero times.
Apply
Count iterations by listing the first and last values the counter actually takes, rather than subtracting the bounds.
Watch out
Using less-than-or-equal against a length, which runs one pass too many and reads past the end.
Study move
For three loop headers, state the exact number of iterations before running anything.
