Teaching Well-Structured Code: A Literature Review of Instructional Approaches

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

Abstract

Teaching the software engineers of the future to write high-quality code with good style and structure is important. This systematic literature review identifies existing instructional approaches, their objectives, and the strategies used for measuring their effectiveness. Building on an existing mapping study of code quality in education, we identified 53 papers on code structure instruction. We classified these studies into three categories: (1) studies focused on developing or evaluating automated tools and their usage (e.g., code analyzers, tutors, and refactoring tools), (2) studies discussing other instructional materials, such as learning resources (e.g., refactoring lessons and activities), rubrics, and catalogs of violations, and (3) studies discussing how to integrate code structure into the curriculum through a holistic approach to course design to support code quality. While most approaches use analyzers that point students to problems in their code, incorporating these tools into classrooms is not straightforward. Combined with further research on code structure instruction in the classroom, we call for more studies on effectiveness. Over 40% of instructional studies had no evaluation. Many studies show promise for their interventions by demonstrating improvement in student performance (e.g., reduced violations in student code when using the intervention compared with code that was written without access to the intervention). These interventions warrant further investigation on learning, to see how students apply their knowledge after the instructional supports are removed.

Original languageEnglish
Title of host publicationProceedings - 2025 IEEE/ACM 37th International Conference on Software Engineering Education and Training, CSEE and T 2025
PublisherIEEE
Pages205-216
Number of pages12
ISBN (Electronic)9798331537098
DOIs
Publication statusPublished - 12 Jun 2025
Event37th IEEE/ACM International Conference on Software Engineering Education and Training, CSEE and T 2025 - Ottawa, Canada
Duration: 28 Apr 202529 Apr 2025

Publication series

NameSoftware Engineering Education Conference, Proceedings
ISSN (Print)1093-0175

Conference

Conference37th IEEE/ACM International Conference on Software Engineering Education and Training, CSEE and T 2025
Country/TerritoryCanada
CityOttawa
Period28/04/2529/04/25

Bibliographical note

Publisher Copyright:
© 2025 IEEE.

Keywords

  • Code Quality
  • Code Structure
  • Coding Style

Fingerprint

Dive into the research topics of 'Teaching Well-Structured Code: A Literature Review of Instructional Approaches'. Together they form a unique fingerprint.

Cite this