Commenting Loops [DS18] [WHAT]

Commenting Loops [DS18] [WHAT]

Tip DS18

For loops, it’s typically best to summarize what the loop does with a MAJOR comment before the loop - that gives readers a good understanding of the ultimate purpose and result of the loop. When writing such comments, try to focus on the overall goal of the loop, rather each iteration, if possible.

For example:

Code More Meet Less Ad.png