Empirical Studies of Programming Knowledge

ELLIOT SOLOWAY

KATE EHRLICH

Abstract

We suggest that expert programmers have and use two types of programming knowledge: 1) programming plant, which are generic program fragments that represent stereotypic action sequences in programming, and 2) rules of programming discourse, which capture the conventions in programming and govern the composition of the plans into programs. We report here on two empirical studies that attempt to evaluate the above hypothesis. Results from these studies do in fact support our claim.

Index Terms—

Cognitive models of programming

novice/expert differences

program conprehension

software psychology

I INTRODUCTION: MOTIVATION AND GOALS

WHAT is it that expert ...

Get Readings in Artificial Intelligence and Software Engineering now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.