Y
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
loeg
703 days ago
No? The foo() invocation is never reached because the while loop never terminates.
link
fwip
703 days ago
Apologies; I misread the function call as being inside the loop.
link