While working on #1516 I thought it would be useful to have a rule that limits the number of control variables in a for loop:
While there are valid use-cases for something like
for (int i = start, j = 0; i < l; i++, j++)
having more variables can make it hard to see what range of values the loop iterates over.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4