Good Programming Practice – Coding Style Conventions
Overview |
|---|
In order to be efficient and streamline the sharing of program code between programmers, with regulatory agencies, and with external partners or vendors, it is vital for code structure to follow standard conventions. We propose that these conventions be divided into those which should be considered as mandatory, and those which are merely suggestions to be followed as applicable. |
Mandatory Coventions |
|---|
The following summarizes standard programming conventions which should be followed in the creation of SAS programs.
It is easier to read
This should also prevent lines wrapping when the code is printed out, thus making it easier to read. No more than 80 characters wide is a good guideline for this.
|
Suggested Conventions |
|---|
The following summarizes additional suggested programming conventions for SAS programs.
|
Examples of Well Structured SAS Code |
|---|
Text is available under the Creative Commons Attribution-ShareAlike License ; additional terms may apply. See Terms of use for details. |