Silentsword said: Did we learn nothing from the Sorcerer's Apprentice?
I was so looking forward to that question... :) Yes we did: do not include regeneration, but DO include proper break/end conditions, debugging, and a kill-switch just to be on the safe side.
Really, writing a non-halting program is quite hard, Visual Studio 2008 already includes a return 0 at the end when creating a new project.