Chapter 7. Coding Standards and Conventions

The laws of nature are but the mathematical thoughts of God.


Significant coding efforts, or projects undertaken within the framework of large organized endeavors such as GNU and BSD, are likely to adopt a set of coding standards, guidelines, or conventions. Computer languages and programming systems offer programmers considerable leeway on how to express a given algorithm. Coding standards provide additional stylistic guidance aiming to increase the code's robustness, readability, and maintainability. When reading code, standards and conventions provide you additional guidance on the meaning of particular code elements, thereby increasing the effectiveness of your endeavor. In this chapter ...

Get Code Reading: The Open Source Perspective now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.