Iterator variables shall be prefixed with i, j, k etc.
Priority
Recommended
Severity level
8
Description
Iterator variable names shall be at least 3 characters long. In nested for-loops, the starting letters of the iterator names shall be subsequent letters in the alphabet.
Rationale
Iterator variables of for-loops are easily distinguishable from other variables by using these prefixes.