|
Next: An Example Package Up: No Title Previous: Packages and File
Naming ConventionsThis chapter discusses the conventions for naming functions, macros, structures, and variables within the VIS environment. The objective of these conventions is for a name to be canonical and to completely identify its type and scope. Adhering to these conventions is necessary for the automatic prototype generation and documentation tools to work, described in Chapter 5. When names are longer than one English word, the words are catenated and their first letters capitalized, e.g., ThisIsALongExample. This is shorter than other styles, and is at least as readable. The environment defines three scopes, each of which has its own naming convention:
Functions and macros, variables, and structures each have their own naming convention:
The table below gives examples of names.
Next: An Example Package Up: No Title Previous: Packages and File
Tom Shiple Fri May 10 17:19:47 PDT 1996 |
Contact |
©2002-2018 U.C. Regents |