Infinite Loops

Entering an infinite loop is one of the worst ways a program can fail. It may not be as insidious as a bug that subtly corrupts data, nor as attention-demanding as an exception being thrown, but like ...