Large language model-assisted modern programming pedagogy model: a perspective on teaching programming in the era of LLMs
Authors:
Open Access
- 28 October 2026
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Artificial Intelligence
- Vol. 9, 1945247
Abstract
Large language models (LLMs) are a double-edged technology. They can serve as learning assistants in programming while simultaneously raising pedagogical and ethical concerns. Programming education researchers have responded by providing guidelines and recommendations on teaching, assessment, and the ethical use of LLMs. Although these developments are welcome, the literature still lacks theory-based frameworks that provide a philosophical grounding for programming pedagogy. This perspective paper addresses this gap by proposing the LLM-Assisted Modern Programming Pedagogy (LAMPP) model. The model aims to provide a theory-informed framework for systematically guiding the integration of LLMs into programming pedagogy. It proposes four design principles encompassing the core components of pedagogy (i.e., teaching, lesson design, engagement, and assessment). Ethics is included as an additional dimension because ethical concerns cut across all aspects of pedagogy. The LAMPP model proposes different mechanisms that may mitigate potential learning losses associated with inappropriate or excessive reliance on LLMs. Future studies should test the effectiveness of these mechanisms. The model may provide a basis for educators, researchers, and policymakers when considering policies, curriculum structures, course outcomes, assessment practices, and ethical guidelines related to programming pedagogy. In summary, it is not about LLM tools themselves but about the pedagogical orchestration of these technologies in programming education.Keywords
This publication has 44 references indexed in Scilit:
- Artifact-based diagnostic learning analytics via large language models: a case study in programming classroomEducational Technology Research and Development, 2026
- Encouraging responsible GenAI use in software engineering education: A design-oriented modelJournal of Systems and Software, 2026
- “How about our stance?”: college students’ stance on using artificial intelligence educational toolsEducation and Information Technologies, 2025
- Navigating LLM ethics: advancements, challenges, and future directionsAI and Ethics, 2025
- Beyond the Prompt: Student Strategies, Ethical Reflections, and Learning with ChatGPT in Computer ScienceTechnology, Knowledge and Learning, 2025
- Perceived impact of generative AI on assessments: Comparing educator and student perspectives in Australia, Cyprus, and the United StatesComputers and Education: Artificial Intelligence, 2024
- Evaluating the efficacy of AI content detection tools in differentiating between human and AI-generated textInternational Journal for Educational Integrity, 2023
- Learning to code or coding to learn? A systematic reviewComputers & Education, 2019
- Learning Theories and Educational Paradigms2001
- Conceptual and Procedural KnowledgeInternational Journal of Technology and Design Education, 1997