←back to thread

498 points azhenley | 1 comments | | HN request time: 0.211s | source
Show context
nyrp ◴[] No.45771906[source]
Is he referring to something specific with "true" iterative calculations vs. plain old iterative ones, assuming they are in some way "non-true" or less "true"? Like, avoiding i+=x in favor of ++i or something? Or maybe am I just tired today.
replies(1): >>45771950 #
1. ufo ◴[] No.45771950[source]
I think he's just saying that mutation is ok if it's something loopy, like changing the loop counter or updating some running sum. So both i+=1 and ++i are fine.