Topics discussed in this section: 2-9 Software Engineering Although this chapter introduces only a few programming concepts, there is still much to be said from a software engineering point of view. We will discuss the concepts of program documentation, data naming, and data hiding. Topics discussed in this section: Program Documentation Data Names Data Hiding Computer Science: A Structured Programming Approach Using C
Sample of General Program Documentation Computer Science: A Structured Programming Approach Using C
Examples of Good and Poor Data Names Table 2-13 Examples of Good and Poor Data Names Computer Science: A Structured Programming Approach Using C
Examples of Defined Constants Table 2-14 Examples of Defined Constants Computer Science: A Structured Programming Approach Using C
No variables are to be placed in the global area of a program. Note Programming Standard No variables are to be placed in the global area of a program. Computer Science: A Structured Programming Approach Using C