Rob Pike writes:
It's only messy if you make a messy job of it.
Maybe I should explain what I meant by messy. To me, the issue with select is
that in many cases one has to either keep a lot of state somewhere, or live with
long response times while handlers complete. Threads allowed handlers to be
written in the "normal" way with state kept on the stack.