Chapter 14. Organizing Straight-Line Code
Contents
Related Topics
General control topics: Chapter 19
Code with conditionals: Chapter 15
Code with loops: Chapter 16
Scope of variables and objects: Scope
This chapter turns from a data-centered view of programming to a statement-centered view. It introduces the simplest kind of control flow: putting statements and blocks of statements in sequential order.
Although organizing straight-line code is a relatively simple task, some organizational subtleties influence code quality, correctness, readability, and maintainability.
Statements That Must Be in a Specific Order
The easiest sequential statements to order are those ...
Get Code Complete, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.