Comment

Comment by aragonite

Lots of mundane human activities are most naturally represented as while (or do-while) loops.

For example, wiping one's butt:

  do {
     wipe()
  } while { color_of_tp() !== "white" }
Or anything that falls under cleaning, really.

Although I'd argue while loops belong most at home in imperative code. (Cleaning for example is like the impure function par excellence, done only for side effect)

parent aragonite 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton