Here's an excerpt from the "Conclusions and Future Work" section at the end of the article:
Liblit, B., Begel, A., Sweeser, E.: Cognitive perspectives on the role of naming in computer programs. In: Proceedings of the 18th Annual Psychology of Programming Workshop, Sussex, United Kingdom, September 2006, Psychology of Programming Interest Group (2006)Modern software is incredibly complex. The source to Microsoft Windows XP has 40 million lines of code [21]. The Linux 2.6 kernel weighs in at 6 million lines [32]. Managing this kind of complexity requires that programmers draw deeply upon all their cognitive abilities. We have discussed several ways in which programmers select and use names in cognitively motivated ways. Lexical and morphological conventions convey basic information about a name's role, while metaphors encourage productive inferences drawn from other domains of experience. The grammars of natural languages shape name use in intricate ways, and polysemy appears as overloading with attendant debates over literal versus metaphorically extended meaning. Throughout, we find that programmers leverage fundamental aspects of cognition and natural language comprehension to make code easier to read and understand.
Practical considerations have motivated us to narrowly study the role of naming in imperative languages. If we were to expand our scope, we might ask how increasingly linguistically sophisticated programming languages have changed the cognitive burden on programmers. Conversely, we might ask how language designers could better support programming as a cognitive, communicative task. Should programming languages provide linguistic support for anthropomorphism as indicated by Herbsleb's study of metaphors used to describe software behavior[13]?
Programming is a sophisticated intellectual process that combines aspects of natural language with the regular structure of formal mathematical thought. The study of programming truly has the potential to contribute valuable perspectives to current research in linguistics and cognition.
Full Article
Enjoy