Skip to main content
@shmVirus

publications

From Compiler Errors to Learning Opportunities: Rewriting Diagnostics for First-Semester Programmers

Sabbir Hosen Mamun, Sandra L. Morris

IEEE Frontiers in Education Conference, pp. 1-8, Covington, USA · IEEE

Conference201938 citations

Abstract

Compiler diagnostics are written for programmers who already understand the language model. This paper reports a redesign of common C compiler messages for first-semester learners, replacing terse error labels with explanations, examples, and next-step checks. In a controlled lab study, rewritten diagnostics reduced help requests for syntax errors and improved students' ability to describe the cause of failed compilation.

Cite this work

@inproceedings{Mamun2019From,
  title = {From Compiler Errors to Learning Opportunities: Rewriting Diagnostics for First-Semester Programmers},
  author = {Sabbir Hosen Mamun and Sandra L. Morris},
  year = {2019},
  booktitle = {IEEE Frontiers in Education Conference},
  pages = {1-8},
  address = {Covington, USA},
  publisher = {IEEE},
  abstract = {Compiler diagnostics are written for programmers who already understand the language model. This paper reports a redesign of common C compiler messages for first-semester learners, replacing terse error labels with explanations, examples, and next-step checks. In a controlled lab study, rewritten diagnostics reduced help requests for syntax errors and improved students' ability to describe the cause of failed compilation.},
}