Programmers use slices when debugging
Mark Weiser · Communications of the ACM · 1982
Computer programmers break apart large programs into smaller coherent pieces. Each of these pieces: functions, subroutines, modules, or abstract datatypes, is usually a contiguous piece of program text. The experiment reported here shows that programmers also routinely break programs into one kind of coherent piece which is not coniguous. When debugging unfamiliar programs programmers use program pieces called slices which are sets of statements related by their flow of data. The statements in a slice are not necessarily textually contiguous, but may be scattered through a program.
Cited by 761 works. doi:10.1145/358557.358577 Open-access PDF
Authors
References
- Nonparametric Statistics for the Behavioral Sciences
- A contribution to the development of ALGOL
- Perception in chess
- NONPARAMETRIC STATISTICS FOR THE BEHAVIORAL SCIENCES
- Expert and Novice Performance in Solving Physics Problems
- On the genesis of abstract ideas.
- Thought and Choice in Chess
- Flow Analysis of Computer Programs
- Retention of abstract ideas.
- Thought and Choice in Chess