SLIDE 1
- Int. J. Human-Computer Studies (2001) 54, 1}23
doi:10.1006/ijhc.2000.0423 Available online at http://www.idealibrary.com on
An exploratory study of program comprehension strategies of procedural and object-oriented programmers
CYNTHIA L. CORRITORE College of Business Administration, Creighton University, Omaha, NE 68178, USA. email: cindy@creighton.edu. SUSAN WIEDENBECK College of Information Science and Technology, Drexel University, Philadelphia, PA 19104,
- USA. email: susan@cse.unl.edu.
(Received 14 July 1999 and accepted in revised form 19 July 2000)
This exploratory study examines the nature of program understanding strategies em- ployed 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 and then performed modi"cations 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 under- standing during the early phase of familiarization with the program but used an increasingly bottom-up approach during the subsequent maintenance tasks. The pro- cedural 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. 2001 Academic Press
KEYWORDS: procedural programmers; object-orientated programmers; software maintenance; program comprehension.
- 1. Introduction