首页|期刊导航|远程教育杂志|从工程工作流到学习闭环:氛围编程教育的内涵阐释与实践框架

从工程工作流到学习闭环:氛围编程教育的内涵阐释与实践框架OA

From Engineering Workflow to Closed Learning Loop:Conceptual Interpretation and Practical Framework of Vibe Coding Education

中文摘要英文摘要

生成式人工智能在自然语言理解、代码生成与多轮对话方面的突破,使其能够进一步参与从任务理解到程序执行再到任务实现的全过程,也催生了以多轮对话为主要交互方式的氛围编程.本文基于人机共生理论,从技术参与环节与人的主导作用出发,梳理编程交互方式的演进,比较传统编程教育与氛围编程教育的差异,并将氛围编程教育界定为以自然语言为主要人机交互媒介,由生成式人工智能参与方案形成与程序实现,并由学习者持续主导任务意图、过程监控与结果评鉴的人机协同编程实践.在此基础上,本文提出教学过程中的"讨论—计划—执行—迭代"(DPEI)四步学习闭环,揭示其协同运行结构.此外,本文基于北京大学氛围编程教师工作坊案例,呈现了DPEI四步学习闭环在意图表达、任务规划、执行及迭代优化方面的具体应用,为氛围编程教育提供了可操作的实践框架.

Breakthroughs of generative artificial intelligence in natural language understanding,code generation,and multi-turn dialogue enable it to participate in the whole process from task comprehension to program execution and task fulfillment,giving rise to vibe coding,which adopts multi-turn dialogue as its primary interaction mode.Based on the theory of human-computer sym-biosis,this paper traces the evolution of programming interaction modes by examining technical participation links and human agency.It compares traditional programming education with vibe coding education,and defines vibe coding education as a human-AI collabo-rative programming practice wherein natural language serves as the primary medium for human-computer interaction,generative AI facilitates solution formulation and program implementation,and learners retain continuous dominance over task intent definition,pro-cess monitoring,and outcome evaluation.Building on this foundation,the paper proposes a four-step learning loop"Discuss,Plan,Ex-ecute,Iterate"(DPEI)for teaching practice and reveals its collaborative operating structure.Furthermore,drawing on a vibe coding teacher workshop case at Peking University,the paper illustrates the application of the DPEI loop in intention expression,task plan-ning,execution and iterative optimization,offering an actionable practical framework for vibe coding education.

王淑文;周均奕;尚俊杰;刘雨昕;张露

北京大学教育学院(北京100871)北京语言大学教育学院(北京100083)北京大学教育学院(北京100871)北京大学教育学院学习科学实验室(北京100871)北京邮电大学人文学院(北京100876)

社会科学

氛围编程编程教育人机共生人机协同生成式人工智能

Vibe codingProgramming educationHuman-computer symbiosisHuman-AI collaborationGenerative artificial intelligence

《远程教育杂志》 2026 (5)

21-27,112,8

2024年度北京市教育科学"十四五"规划重点课题"基于沉浸式虚拟情境的校园欺凌预防与干预研究"(项目编号:CAHA24030).

10.15881/j.cnki.cn33-1304/g4.2026.05.003

评论