Some ramifications of the EXIT statement in loop control

M. W. Whitelaw · ACM SIGPLAN Notices · 1985

EXIT statements support a style of programming that distinguishes between the control operations and the actions in a loop. Readability suggests that multiple EXIT statements are preferable to a single EXIT statement in a loop with multiple invariants. This is particularly true if implementational considerations have confused the neatness of the loop termination condition.

Read the paper · More papers on PaperTik