Defining Programming Standards   
for Professional Programmers 
  

         

Home

Contents

1: Standards

2: Psychological Factors

3: General Principles

4: Commenting

5: Naming

6: Code Layout

7: File Layout

8: Language Usage

9: Data Usage

10: Programming Usage

11: Implementing Standards

A: Example Standard

B: References

C: Glossary

Syque

About

Share this page:

Google
C Style
syque.com
Web

 

 

Books and
more at:

USA:

In association with amazon.com

UK:

In Association with Amazon.co.uk

Canada:

In Association with amazon.ca

 

 

Part 3 : Layout

CHAPTER 6 : Code Layout
CHAPTER 7 : File Layout

 

PART 4 : Usage

 

<-- Prev page | Next page -->

<-- Prev part | Next part -->

 

The layout, the appearance, of the code is the most common subject of coding standards. It is also the most common subject of debate amongst programmers arguing over points of style (indeed, some programmers consider layout to be the only element of style). This is no coincidence, as many of the points in Chapter 2 indicate. The visual aspects of the code play a major part in its readability, and a change in those aspects can seriously impair that readability for any reader used to a particular layout style.

This part of the book starts with basic considerations for code layout, and progresses to the higher-level aspects of layout, such as what should be in each file.

 

<-- Prev page | Next page -->

 

 

  © Syque 1995-2013

Massive Content -- Maximum Speed