Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
fwip
1y ago
0 comments
Share
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); }
0 comments
default
newest
oldest
loeg
1y ago
No? The foo() invocation is never reached because the while loop never terminates.
fwip
OP
1y ago
Apologies; I misread the function call as being inside the loop.
j
/
k
navigate · click thread line to collapse