Inference-based and expectation-based processing in program comprehension

Michael P. O'Brien, Jim Buckley

Research output: Contribution to journalArticlepeer-review

Abstract

This paper formally distinguishes between two variants of top-down comprehension (as originally described by Brooks (1983) and Soloway (1984)). The first is inference-based comprehension, where the programmer derives meaning from cliched implementations in the code. The second is expectation-based comprehension, where the programmer has pre-generated expectations of the code's meaning. The paper describes the distinguishing features of the two variants, and uses these characteristics as the basis for an empirical study. This study establishes their existence, and identifies their relationship with programmers' domain and coding standards familiarity.

Original languageEnglish
Article number921715
Pages (from-to)71-78
Number of pages8
JournalProceedings - IEEE Workshop on Program Comprehension
Volume2001-January
DOIs
Publication statusPublished - 2001
Externally publishedYes

Keywords

  • Bridges
  • Cognitive science
  • Costs
  • Data mining
  • Documentation
  • Information technology
  • Performance evaluation
  • Programming profession

Fingerprint

Dive into the research topics of 'Inference-based and expectation-based processing in program comprehension'. Together they form a unique fingerprint.

Cite this