This 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 words in a function name are arranged in an English sentence-like order:
The table below gives examples of names.