Topic: denoting phrases and definite descriptions
Topic: file directory
Topic: encoded names
Topic: hierarchical naming
Topic: hypertext nodes made of names
Topic: name server or name directory
Topic: names as abbreviations for descriptions
Topic: naming conventions
Topic: software documentation
Topic: understanding systems
Topic: unique numeric names as surrogates
Topic: using a description as a name
| |
Summary
The trend is towards long descriptive names for program documentation and maintenance. A well-chosen name or title reminds us of the purpose, or meaning, of the part being named. This makes it easier to understand a program.
A large number of short mnemonic names tend to make recognition difficult. (cbb 5/80)
Subtopic: descriptive names
Quote: programming improved by indentation, comments, mnemonic names; but not by structured programming [»pariG_1980]
| Quote: a well-chosen name reminds us of the purpose, or meaning, of the part being named [»hehnEC2_1984]
| Quote: two levels needed for names: machine-oriented (a bit string) for storage, protection, etc; people-oriented (a mnemonic string) for reading [»watsRW_1981]
| Quote: meaningful names important for debugging and when reading someone else's program [»goulJD9_1973]
| Quote: use long names; if you can't read it out loud, it's a poor name [»kellD5_1990]
| Quote: ML uses compound words to convey complex units of information, e.g., OvenIsHotEnough
| Quote: Telesophy made of information units with a label that describes contents [»caplM12_1987]
| Quote: an OS6 file index associates names (e.g., 'LinePrinter' and 'Text') with files; a file has two or more associations [»stoyJE3_1972]
| Subtopic: suggestions for descriptive names
Quote: use simple short names for types; e.g., Table, Error, State [»kellD5_1990]
| Quote: use a verb for a procedure; if it applies to a type, include the type, e.g., StoreWord, DisplayError [»kellD5_1990]
| Quote: use imperative verbs for procedures; nouns for attributes and functions; adjectives or questions for boolean queries [»meyeB9_1990]
| Quote: for variables and functions, prefix their type name with an adjective; e.g., FirstState, NextState [»kellD5_1990]
| Quote: boolean names should state a predicate, e.g., 'if PrinterIsReady' and '..is..' [»kellD5_1990]
| Quote: constants often define a limit; if so, use "Max" as a prefix [»kellD5_1990]
| Subtopic: describe resource instead of naming it
Quote: use intentional names in distributed environments that describe what is needed instead of where to find it [»adjiW12_1999]
| Quote: the Intentional Naming System (INS) uses a hierarchy of attributes to locate services and route messages to the appropriate end-nodes [»adjiW12_1999]
| Subtopic: symbols vs. words
Quote: found that unusual symbols often convey meaning better than a reserved word; especially with children [»shocJF9_1979]
| Subtopic: UI
Quote: use copy-paste for descriptive names to avoid unnecessary typing
| Subtopic: titles as descriptive names
Quote: a name for a note is a mnemonic for its contents [»neuwC11_1987]
| Quote: display menus of Atom entries using , , and elements [»boswA10_2005]
Quote: the name of a relationship is a statement of a reason for an association [»kentW_1978]
| Quote: in DocumentExaminer, nodes have a type ('variable') and a descriptive name [»walkJH11_1987]
| Quote: a Telesophy label consists of a unique number, a description, and cataloging information [»caplM12_1987]
| Quote: a Telesophy query produces summaries of each information unit (like titles) [»schaBR11_1987]
| Quote: a DSEE task has a title which describes a high-level activity and a list of textual items defining necessary sub-tasks [»leblDB5_1984]
| Quote: used ZOG for software management; statement titles are pseudo-code comments for begin-end blocks in Pascal [»akscRM5_1984]
| Quote: each NoteCards card contains a title and arbitrary digital information
| Quote: title cards by short phrases and use NoteCards browser to arrange them [»trigRH11_1987]
| Quote: in Compendium, reference entries by their descriptive titles [»glusRJ5_1989]
| |
Related Topics
Topic: denoting phrases and definite descriptions (21 items)
Topic: file directory (55 items)
Topic: encoded names (7 items)
Topic: hierarchical naming (28 items)
Topic: hypertext nodes made of names (13 items)
Topic: name server or name directory (40 items)
Topic: names as abbreviations for descriptions (35 items)
Topic: naming conventions (8 items)
Topic: software documentation (64 items)
Topic: understanding systems (48 items)
Topic: unique numeric names as surrogates (67 items)
Topic: using a description as a name (21 items)
|