An exploratory study of program comprehension strategies of procedural and object-oriented programmers

被引:32
作者
Corritore, CL [1 ]
Wiedenbeck, S
机构
[1] Creighton Univ, Coll Business Adm, Omaha, NE 68178 USA
[2] Drexel Univ, Coll Informat Sci & Technol, Philadelphia, PA 19104 USA
关键词
procedural programmers; object-orientated programmers; software maintenance; program comprehension;
D O I
10.1006/ijhc.2000.0423
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This exploratory study examines the nature of program understanding strategies employed during a series of comprehension and maintenance activities carried out over time. Two dimensions of comprehension were examined: the direction of comprehension and the breadth of comprehension. Thirty expert procedural and object-oriented (OO) programmers studied a program acid then performed modifications during two sessions held 1 week apart. The results showed that the direction of comprehension was mixed. The OO programmers tended to use a strongly top-down approach to program understanding during the early phase of familiarization with the program but used an increasingly bottom-up approach during the subsequent maintenance tasks. The procedural programmers used a more bottom-up orientation even during the early phase, and this bottom-up approach became even stronger during the maintenance tasks. The breadth of the programmers' comprehension was found to be greater for the procedural programmers than for the object-oriented programmers. However, after carrying out a series of tasks, all programmers had examined the majority of the program code. The results suggest that, regardless of paradigm, expert programmers eventually build a broad systematic, rather than a localized, view of a program over time. (C) 2001 Academic Press.
引用
收藏
页码:1 / 23
页数:23
相关论文
共 43 条
[1]  
[Anonymous], EMPIR SOFTW ENG
[2]   INFORMATION RELATIONSHIPS IN PROLOG PROGRAMS - HOW DO PROGRAMMERS COMPREHEND FUNCTIONALITY [J].
BERGANTZ, D ;
HASSELL, J .
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1991, 35 (03) :313-328
[3]   TOWARDS A THEORY OF THE COMPREHENSION OF COMPUTER-PROGRAMS [J].
BROOKS, R .
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1983, 18 (06) :543-554
[4]   The effect of object-oriented programming expertise in several dimensions of comprehension strategies [J].
Burkhardt, JM ;
Detienne, F ;
Wiedenbeck, S .
6TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION (IWPC 98) - PROCEEDINGS, 1998, :82-89
[5]  
Burkhardt JM, 1997, HUMAN-COMPUTER INTERACTION - INTERACT '97, P339
[6]  
Canfora G, 1996, FOURTH WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, P30, DOI 10.1109/WPC.1996.501118
[7]  
Cohen J., 1977, STAT POWER ANAL SOCI
[8]  
Corritore C. L., 1991, International Journal of Human-Computer Interaction, V3, P199, DOI 10.1080/10447319109526004
[9]   Mental representations of expert procedural and object-oriented programmers in a software maintenance task [J].
Corritore, CL ;
Wiedenbeck, S .
INTERNATIONAL JOURNAL OF HUMAN-COMPUTER STUDIES, 1999, 50 (01) :61-83
[10]  
Cox B. J., 1986, Object-oriented programming: an evolutionary approach