You are previewing Code Complete, Second Edition.

Code Complete, Second Edition

Cover of Code Complete, Second Edition by Steve McConnell Published by Microsoft Press
O'Reilly logo

Chapter 14. Organizing Straight-Line Code


Related Topics

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 ...

The best content for your career. Discover unlimited learning on demand for around $1/day.