ABSTRACT

This chapter describes some typical industry practices that go far beyond what is normally required to complete typical classroom programming projects. It includes a discussion of coding styles, coding standards, naming conventions, code organization, and code reviews that both promote reuse and encourage efficient program execution. It is important to understand that the choice of a programming language for implementation of a system is often made on nontechnical grounds. Most organizations’ coding standards require a large amount of internal documentation; that is, documentation that is included within the actual source code. What follows is a list of some of the basic elements of a coding standard. Documentation and code formatting obviously are important parts of coding style. There are also coding issues that affect code quality in the sense of making the code inefficient. A coding standard is usually developed by an organization to meet its needs, and different organizations usually have different standards.