Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The programmers evidently didn't consider this failure mode. I guess they did consider others. Code could look like this:

   while(!done)
   {
     try
     {
       foo();
       baz();
       done = true;
     }
     catch(...) {}
   }
with baz failing, but the retry present to handle cases where foo fails.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: