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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.