Chapter 14. Organizing Straight-Line Code

 < Free Open Study > 

cc2e.com/1465

Contents

  • Statements That Must Be in a Specific Order page 347

  • Statements Whose Order Doesn't Matter page 351

Related Topics

  • General control topics: Chapter 19

  • Code with conditionals: Chapter 15

  • Code with loops: Chapter 16

  • Scope of variables and objects: Section 10.4, "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.

 < Free Open Study > 


Code Complete
Code Complete: A Practical Handbook of Software Construction, Second Edition
ISBN: 0735619670
EAN: 2147483647
Year: 2003
Pages: 334

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net