Chapter 5. Advanced Control Flow

It is necessary for technical reasons that these warheads be stored upside down, that is, with the top at the bottom and the bottom at the top. In order that there may be no doubt as to which is the bottom and which is the top, it will be seen to it that the bottom of each warhead immediately be labeled with the word TOP.

—British Admiralty Regulation

In Chapter 2 we examined a number of statements that influence the control flow of a program's instruction sequence. Although the control statements we described suffice for most common programming tasks and are the ones you will most often encounter, some less common elements are nevertheless important for a number of applications. Recursive code often mirrors ...

Get Code Reading: The Open Source Perspective now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.