Somewhere I have a button...
Jul. 31st, 2006 01:16 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
... that says something like:
Substitute "death" for "x", and you've got a painfully concise summary of the Middle Eastern situation...
var x = 100; do { x = x + 1; } until (x == 0);
Substitute "death" for "x", and you've got a painfully concise summary of the Middle Eastern situation...
(no subject)
Date: 2006-07-31 06:34 pm (UTC)Add one.
Keep adding one until you get 0.
The funny thing is that this will eventually quit on many computers, after you get to such an unbelievably large number that the computer can't handle it and wraps around to an equally unbelievable negative number. This says more about how weird computers are than about the algorithm. ;)
(no subject)
Date: 2006-07-31 06:50 pm (UTC)Does so in real life, too. There just isn't anyone left to observe the readout...
(no subject)
Date: 2006-07-31 07:09 pm (UTC)(Actually, if x is an int, my machine at work exits after about 50 seconds...)