Student Code Refactoring Misconceptions

Eduardo Oliveira,Hieke Keuning,Johan Jeuring

ITiCSE (1)(2023)

引用 1|浏览8
暂无评分
摘要
Teaching students to develop code of good quality is important. Refactoring - rewriting a program into a semantically equivalent program of better quality - is a common technique to improve code quality. It is therefore relevant for students to learn about refactoring, even for the smaller programs they write as beginners. However, students make mistakes when refactoring programs. Some of these mistakes appear often, and might be caused by misconceptions they have. In this paper, we investigate common student code refactoring misconceptions. We do this by analyzing log data containing program snapshots of students working on refactoring exercises in a tutoring system. We manually inspect all transitions from a correct program state to an incorrect state. We then use grounded theory to identify and categorize misconceptions students might have when refactoring programs. As a result, this work (1) defines the concept of refactoring misconception, and (2) provides an initial list of 25 such misconceptions, together with an accompanying website with full details.
更多
查看译文
关键词
code refactoring,misconceptions,code quality,program snapshot analysis,grounded theory,student code refactoring misconceptions,programming education
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要