3 ms·
Changing a loop counter in a loop is always a bad idea? You must implement only very simple algorithms.
by quotemstr 15y ago
Changing a loop counter in a loop is always a bad idea? You must implement only very simple algorithms.
- schiptsov 15y agoThere are more than one loop expression. Idiomatic usage of a for loop doesn't include changing counter variable in a loop's body. ^_^