Against off-by-one errors, abstain from any from of loop.
For the real hard problems, like deciding whether your program has crashed or just takes a long time, give up.
That's why they had to name it Forth.