Hacker News new | ask | show | jobs
by bluGill 2289 days ago
The only intentional use. However when writing generic code you often have code lines that after several levels of code inline reduce to that example.
1 comments

So, generic code with a loop, which, depending on parameters, sometimes has side effects and sometimes doesn't, and in the case that it doesn't have side effects it is still not easy to recognize if the loop terminates?

I suppose that is possible, although I'm having a hard time coming up with any reasonable examples.