Comment

Comment by 082349872349872

> 0) Are there problems for which writing a WHILE loop is the way to go even though they are not needed?

Yes. Often one can (after much thought and code) write something that explicitly reduces a problem in just* the right order, but it is quicker and simpler to repeatedly apply a set of rewrites WHILE any changes have been made.

* see Knuth on Tarjan's SCC

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton