Cited by 60Teaching and Learning ProgrammingSoftware Engineering ResearchUsability and User Interface Design

On Designing Programming Error Messages for Novices: Readability and its Constituent Factors

Open access
Denny, Paul, Prather, James, Becker, Brett A., Mooney, Catherine, Homer, John, Albrecht, Zachary C, Powell, Garrett B.·2021·Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems

Abstract

Programming error messages play an important role in learning to program. The cycle of program input and error message response completes a loop between the programmer and the compiler/interpreter and is a fundamental interaction between human and computer. However, error messages are notoriously problematic, especially for novices. Despite numerous guidelines citing the importance of message readability, there is little empirical research dedicated to understanding and assessing it. We report three related experiments investigating factors that influence programming error message readability. In the first two experiments we identify possible factors, and in the third we ask novice programmers to rate messages using scales derived from these factors. We find evidence that several key factors significantly affect message readability: message length, jargon use, sentence structure, and vocabulary. This provides novel empirical support for previously untested long-standing guidelines on message design, and informs future efforts to create readability metrics for programming error messages.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/3411764.3445696

Cites

61 of 61 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Previous work shows that a system providing enhanced feedback specifically targeted at novice programmers can increase efficacy and metacognitive behaviors.

    “Previous work shows that a system providing enhanced feedback specifically targeted at novice programmers can increase efficacy [29, 72] and metacognitive behaviors [70].”

    From “It’s Weird That it Knows What I Want”: Usability and Interactions with Copilot for Novice Programmers (2024) · cites this paper as [29]

    Section 2.4 reports that changes to programming error messages increased usability, measured by comprehension and error-resolution rates, but cautions that evidence for the effectiveness of enhanced compiler error messages is not overwhelming. This supports a narrower claim about improved task performance, not a general increase in novice programmers’ efficacy. In the citing sentence, metacognitive behaviors are attributed to a different citation [70], not this source. (LLM, conf=0.78)

    Experimental — accuracy not yet measured

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 3

  1. [29]29. James J Horning. 1976. What the Compiler Should Tell the User. In Compiler Construction: An Advanced Course, G Goos and J Hartmanis (Eds.). Springer- Verlag, Berlin-Heidelberg, 525-548.
  2. [35]35. Thomas Kurtz. 1978. BASIC. ACM SIGPLAN Notices -Special issue: History of programming languages conference 13, 8 (1978), 103-118. https://doi.org/10.1145/ 960118.808376
  3. [43]43. Cormac Murray. 2019. An Analysis of Programming Process Data in a CS1 Pro- gramming Module: Factors Infuencing Success. Masters Thesis. University College Dublin.

Cited by

Sorted by citations

Authors
Denny, P., Prather, J., Becker, B. A., Mooney, C., Homer, J., Albrecht, Z. C., & Powell, G. B.
Affiliations
  • University of Auckland (NZ)
  • Abilene Christian University (US)
  • University College Dublin (IE)
Venue
Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems
Publisher
ACM
Published
2021-05-06
Pages
1-15
OpenAlex
W3163358064
Cited by
60
References
59
Citations by year
2026: 3 · 2025: 9 · 2024: 18 · 2023: 21 · 2022: 8 · 2021: 1
FWCI
13.94
Type
conference paper
Language
en
Open access
Locations
  • CHI Conference on Human Factors in Computing Systems (publishedVersion)
  • Research Repository UCD (University College Dublin) (publishedVersion, cc-by-nc-nd)
Funders
University of Auckland
Topics
  • Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
  • Physical Sciences › Computer Science › Human-Computer Interaction › Usability and User Interface Design
Keywords
readability, novice programmers, message length, sentence structure, vocabulary, readability metrics, human-computer interaction, programming education

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review