Hacker News new | ask | show | jobs
by fwip 703 days ago
EDIT: I am incorrect, please ignore. (Original text below, for posterity).

Nit: In many languages, doesn't this depend on what foo() does? e.g:

  foo() {
    exit(0);
  }
1 comments

No? The foo() invocation is never reached because the while loop never terminates.
Apologies; I misread the function call as being inside the loop.