Map
Index
Random
Help
Topics
th

Topic: encoded names

topics > Group: naming



Topic:
descriptive naming
Topic:
denoting phrases and definite descriptions
Topic:
names as abbreviations for descriptions
Topic:
naming conventions
Topic:
using a description as a name

Summary

An encoded name is an abbreviated description of an object. The naming universe needs to be large and well-defined. Common prefixes and suffixes may indicate a name's use. For instance "ptr" indicates a pointer name. In FORTRAN the first letter implicitly declares the name's type. (cbb 12/00 5/80)
Subtopic: encoded names up

Quote: use encoded names when the naming universe is large and well-defined [»poloHN_1980]
Quote: a data sheet can use 'smart' codes that describe the data; e.g., M/F for male/female or AcAcRu [»poloHN_1980]

Subtopic: examples up

Quote: the Hungarian naming convention incorporates a type and a qualifier in each name; e.g., 'cpLim' for a limit [»simoC8_1991]
Quote: for type tags use two or three characters; may be random, must correspond to types [»simoC8_1991]
Quote: for variants of a type tag, append another letter or two; e.g., 'cp' for character pointer [»simoC8_1991]
Quote: for boolean ('f' tag) variables, describe the condition under which the variable is true; e.g., 'fOpen'
Quote: for values in enumerated sets, the qualifier describes the particular element; e.g., 'coRed'

Related Topics up

Topic: descriptive naming (29 items)
Topic: denoting phrases and definite descriptions (21 items)
Topic: names as abbreviations for descriptions (35 items)
Topic: naming conventions (8 items)
Topic: using a description as a name
(21 items)

Updated barberCB 5/04
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.