Next Article in Journal
Systematic Review of the Effectiveness of Neurodidactic Spaced Learning Strategies in Long-Term Memory
Previous Article in Journal
Epistemological Sensitization as a Short-Term Intervention to Change Epistemological Beliefs—Is It Effective or Not?
Previous Article in Special Issue
From Access to Integration: Rural Mathematics Teachers’ Experiences of Digitalisation in South Africa
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Review

AI Code Assistants in Programming Education: A Narrative Literature Review

Department of Multidisciplinary Engineering, Texas A&M University, College Station, TX 77840, USA
*
Author to whom correspondence should be addressed.
Educ. Sci. 2026, 16(6), 961; https://doi.org/10.3390/educsci16060961
Submission received: 14 April 2026 / Revised: 14 June 2026 / Accepted: 15 June 2026 / Published: 17 June 2026

Abstract

Prior research suggests that programming is a fundamental competency for all students. Due to its importance, programming education is integrated across many disciplines beyond computer science (e.g., humanities, social sciences, and engineering). Also, many existing courses report increasing enrollment trends. However, these changes have also introduced instructional challenges, particularly in supporting students with diverse backgrounds at scale. In this context, many studies have explored the use of AI code assistants as tools that may support instruction and learning. In these studies, while examining the use of AI code assistants, researchers have reported variation in educational contexts, implementation approaches, and outcomes. With this paper, we argue that synthesized information of such variations could help in understanding the effective use of such tools in programming education. To create a synthesized resource on AI code assistants, in this paper, we present a narrative review that synthesizes existing research. We reviewed 29 peer-reviewed studies identified through searches across three databases. The studies were analyzed to identify reported patterns of use, student and instructor perceptions, limitations in existing research, and suggested directions for future research. Across the reviewed studies, AI code assistants were commonly discussed for tasks such as code generation, debugging support, and real-time feedback, with ChatGPT reported most often (16 mentions), followed by GitHub Copilot (6 mentions). Disciplinary information was available in 24 studies, which helped identify the academic settings where AI code assistants were reported. Students generally describe these tools as useful, while also expressing concerns related to over-reliance and accuracy. Student perceptions were reported in 10 studies, while instructor perceptions were reported in 4 studies. Common reported limitations include small sample sizes, short intervention durations, reliance on self-reported data, and limited examination of long-term learning outcomes. Overall, this review consolidates current evidence on how AI code assistants are used and perceived in programming education and identifies areas where more research is needed.
Keywords: AI code assistants; programming education; narrative review; large language models; code generation; student perceptions; instructor perceptions AI code assistants; programming education; narrative review; large language models; code generation; student perceptions; instructor perceptions

Share and Cite

MDPI and ACS Style

Farooq, U.; Morganti, D.; Anwar, S. AI Code Assistants in Programming Education: A Narrative Literature Review. Educ. Sci. 2026, 16, 961. https://doi.org/10.3390/educsci16060961

AMA Style

Farooq U, Morganti D, Anwar S. AI Code Assistants in Programming Education: A Narrative Literature Review. Education Sciences. 2026; 16(6):961. https://doi.org/10.3390/educsci16060961

Chicago/Turabian Style

Farooq, Umer, Dianna Morganti, and Saira Anwar. 2026. "AI Code Assistants in Programming Education: A Narrative Literature Review" Education Sciences 16, no. 6: 961. https://doi.org/10.3390/educsci16060961

APA Style

Farooq, U., Morganti, D., & Anwar, S. (2026). AI Code Assistants in Programming Education: A Narrative Literature Review. Education Sciences, 16(6), 961. https://doi.org/10.3390/educsci16060961

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop