Cognitive Perspectives on the Role of Naming in Computer Programs

Ben Liblit; Andrew Begel; Eve Sweetser

Programming a computer is a complex, cognitively-rich process.This paper examines ways in which human cognition is reflected in the text of computer programs. We concentrate on naming: the assignment of identifying labels to programmatic constructs. Naming is arbitrary, yet programmers do not select names arbitrarily. Rather, programmers choose and use names in regular, systematic ways that reflect deep cognitive and linguistic influences. This, in turn, allows names to carry semantic cues that aid in program understanding and support the larger software development process. 

Type of Publication: Paper
Conference: PPIG 2006 - 18th Annual Workshop
Publication Year: 2006
Paper #: 11
TitleCognitive Perspectives on the Role of Naming in Computer Programs
Publication TypePaper
AuthorsLiblit, B, Begel, A, Sweetser, E
PPIG Workshop: 
2006-09-18th