EUVIMEDEUVIMED entdecken
Systematische Übersicht

The Pedagogical Role of Source Code Comments in Programming Education: A Qualitative Systematic Review with Layered Evidence

Gonçalo SARMENTO, Manuel J. C. S. REIS

Informatics in Education · 01.06.2026 · 1-37

DOI: 10.15388/infedu.2603.031 ↗

Kurz gefasst

Systematische Übersicht in der Zeitschrift Informatics in Education, online erschienen am 01.06.2026. Verfasst von Gonçalo SARMENTO und 1 weiteren Autor:innen.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Source code comments are usually treated in software engineering as documentation artifacts that support readability, maintainability, and long-term comprehension. In programming education, however, comments may also function as pedagogical scaffolds by helping learners externalize reasoning, clarify intent, and reflect on code. This article presents a PRISMA-informed qualitative systematic review with layered evidence on the pedagogical role of source code comments in programming education. Searches in Scopus and ERIC produced 50 unique records; 36 were assessed in detail and resolved into 18 primary synthesis studies, 7 supporting/contextual studies, and 11 advanced-stage exclusions. Because the evidence base is heterogeneous, the review uses qualitative layered synthesis rather than meta-analysis. The findings suggest that comments are best understood pedagogically as explanation-centered learning supports, especially for code comprehension, self-explanation, debugging and reflective reasoning, and formative assessment of student thinking. Direct comment-focused evidence remains limited and concentrated mainly in highereducation and novice programming contexts; adjacent explanation-centered studies clarify plausible mechanisms but do not by themselves establish comment-specific effects. The review concludes that comments can become pedagogically meaningful when deliberately integrated as scaffolds for explanation, comprehension, and reflection.

Zitieren

APA

SARMENTO, G., & REIS, M. J. C. S. (2026). The Pedagogical Role of Source Code Comments in Programming Education: A Qualitative Systematic Review with Layered Evidence. Informatics in Education, 1-37. https://doi.org/10.15388/infedu.2603.031

Vancouver

SARMENTO G, REIS MJCS. The Pedagogical Role of Source Code Comments in Programming Education: A Qualitative Systematic Review with Layered Evidence. Informatics in Education. 2026:1-37. doi:10.15388/infedu.2603.031

BibTeX
@article{SARMENTO2026,
  author = {SARMENTO, Gonçalo and REIS, Manuel J. C. S.},
  title = {The Pedagogical Role of Source Code Comments in Programming Education: A Qualitative Systematic Review with Layered Evidence},
  journal = {Informatics in Education},
  year = {2026},
  pages = {1--37},
  doi = {10.15388/infedu.2603.031}
}
Kostenlos starten →