Title :
Concise and consistent naming [software system identifier naming]
Author :
Deissenbock, F. ; Pizka, Markus
Author_Institution :
Inst. fur Inf., Technische Univ. Munchen, Germany
Abstract :
Approximately 70% of the source code of a software system consists of identifiers. Hence, the names chosen as identifiers are of paramount importance for the readability of computer programs and therewith their comprehensibility. However, virtually every programming language allows programmers to use almost arbitrary sequences of characters as identifiers which far too often results in more or less meaningless or even misleading naming. Coding style guides address this problem but are usually limited to general and hard to enforce rules like "identifiers should be self-describing". This paper renders adequate identifier naming far more precisely. A formal model, based on bijective mappings between concepts and names, provides a solid foundation for the definition of precise rules for concise and consistent naming. The enforcement of these rules is supported by a tool that incrementally builds and maintains a complete identifier dictionary while the system is being developed. The identifier dictionary explains the language used in the software system, aids in consistent naming, and improves productivity of programmers by proposing suitable names depending on the current context.
Keywords :
formal specification; naming services; reverse engineering; bijective mappings; concise naming; consistent naming; precise rule definition; program comprehension; programming languages; software system identifier naming; Computer languages; Computer science education; Dictionaries; Educational programs; Natural languages; Productivity; Programming profession; Software maintenance; Software systems; Solid modeling;
Conference_Titel :
Program Comprehension, 2005. IWPC 2005. Proceedings. 13th International Workshop on
Print_ISBN :
0-7695-2254-8
DOI :
10.1109/WPC.2005.14