I am very honored to be giving a new talk at MCE 2015 this coming February... I hope to meet some of you there!
Many apologies for the delay of this week's case... while you're waiting, please check out one of my writing projects especially for this Christmas season: Dark Yule .
moderately geeky  moderately geeky

Case 21


A certain monk was reported to be unwilling to leave his terminal. For two days he had gone without food or sleep.

When the Java master investigated, he found the monk visibly shaken. On screen was the following code, which at that moment was running under the debugger:

    while (true) {
       /* do nothing */

“I have asserted that the loop must execute while truth itself is true,” said the monk. “Yet if I hit the Interrupt key, the loop will terminate. The implication is that, in that precise moment, truth will no longer be true. How can any of us dare to disturb the program? We might bring chaos upon the world!”

The Java master reached down and pulled the plug out of the wall. The screen went black.

“Now the loop can never be interrupted,” said the master.

The monk’s mind was eased.

Topics...  loops, infinity