Title :
Structural Knowledge and Language Notational Properties in Program Comprehension
Author :
Romero, Pablo ; Du Boulay, Benedict
Author_Institution :
Human Centred Technol. Group, Sussex Univ., Falmer
Abstract :
Several accounts of program comprehension have taken the theory of text comprehension by Kinstch as a starting point to model the mental representations built when programmers understand a computer program. A crucial point that these accounts try to explain is how these mental representations are organised. According to Kintsch´s theory, the mental representations built as a product of the text comprehension process are interrelated propositional networks whose organisation is determined by the main idea of the text. In program comprehension, this main idea has been understood in terms of functionality. This paper contends this notion, proposing that in program understanding programmer´s mental representations are multifaceted and organised through several criteria. Which of these is the most important one depends on the programming language employed among other factors. The fact that functional information appeared as crucial might have been because most of the empirical research that has been undertaken has employed procedural languages. This claim is tested empirically by analysing the mental representations of programmers in Prolog, a declarative programming language. The results support our claim by showing that in this case data structure information is more important than function
Keywords :
PROLOG; data structures; reverse engineering; Kintsch theory; Prolog; computer program; data structure information; language notational property; mental representations; procedural languages; program comprehension; programmers; programming language; propositional networks; structural knowledge; text comprehension; Computer languages; Data structures; Debugging; Humans; Knowledge representation; Programming profession; Testing; knowledge representation; program comprehension; program debugging;
Conference_Titel :
Visual Languages and Human Centric Computing, 2004 IEEE Symposium on
Conference_Location :
Rome
Print_ISBN :
0-7803-8696-5
DOI :
10.1109/VLHCC.2004.50