|Iteration has been listed as a level-5 vital article in Technology. If you can improve it, please do. This article has been rated as Start-Class.|
|This article is of interest to the following WikiProjects:|
Confusion regarding "repetition"
I have noticed that many online sources, including this page, define iteration as the repetition of a process, but this seems to not be true. When people count how many times a process is iterated, like in this article's "for loop" example, it is equal to the total number of executions of the body, but NOT equal to the "repeated" executions. For example, if a for loop only runs a single time, it would, by this logic, iterate a single time. However, this is NOT a repetition, as it simply runs a single time and is not repeated, thus meaning that the definition of iteration as being a "repetition" is faulty. Either that, or the for loop in this article only iterates twice, because the first time is not a repeat, and for my example, the for loop that only runs once does not iterate at all, because there is no repeat.
Genuinely confused here. --Advancedlamb 03:15, March 1, 2019 (UTC)
In the example given in pseudocode, corrected the output from 3 to 6, which is the correct one.
André Fratelli (email@example.com)
Where are the references ?
The article is very interesting, but it would be even nicer if the references used to create it could be also read.
Best regards, --Hgfernan 18:25, 4 March 2006 (UTC)
Is it me or shouldn't the recursion link go to http://en.wikipedia.org/wiki/Recursion_%28computer_science%29 instead of the disambiguous one?
Red-headed step child
Wow. This is one of the more troubled pages I've come across in a long time, out of thousands. Would barely know where to start. My own impulse would be to separate algorithmic iteration (mathematics and computing) into a separate article. — MaxEnt 21:58, 29 January 2016 (UTC)