|Perl: the Markov chain saw|
Re^3: Is it safe to append to the array you are iterating overby BrowserUk (Pope)
|on Mar 14, 2013 at 19:07 UTC||Need Help??|
The problem is that even if the logic in the loop body doesn't cause an infinite loop; you are at the very least also iterating over all the additional elements that you push for no good reason. You've just pushed those values; you presumably don't want them to cause further pushes.
Why do pointless extra work when it is so easily avoided?
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.