Chapter 7
Coding Conventions
Describes naming conventions for items and attributes, naming conventions that support encapsulation, and coding conventions for methods, procedures, and rules.
- Introduction
- Using Module Prefixes
- Benefits of Using Module Prefixes
- Costs of Using Module Prefixes
- Using Public and Private Naming Conventions
- Benefits of Using Public/Private Naming Conventions
- Cost of Using Public/Private Naming Conventions
- Using Naming Conventions for Items and Attributes
- Using Coding Conventions for Methods, Procedures, and Rules
- Naming Conventions
- Indentation Conventions for Methods and Procedures
- "Begin" Statement
- "Repeat" and "For...Do" Statements
- "If-Then-Else" Statement
- "Case" Statement
- "On error" Statement
- "Collect data" Statement
- Examples of Properly Indented Procedures
- Indentation Conventions for Rules
- Examples of Properly Indented Rules
Copyright © 1997 Gensym Corporation, Inc.