Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
quotemstr
· 15y ago · 0 comments
Changing a loop counter in a loop is always a bad idea? You must implement only very simple algorithms.
Comments
[–]
schiptsov
15y ago
There are more than one loop expression. Idiomatic usage of a for loop doesn't include changing counter variable in a loop's body. ^_^