| Title: |
Student Code Refactoring Misconceptions |
| Authors: |
Oliveira, Eduardo; Keuning, Hieke; Jeuring, Johan; Software Technology for Learning and Teaching; Sub Softw.Techn. for Learning and Teach; Dep Informatica; Sub Digital Technology and Education; Sub Softw.Techn. for Learning and Teach. |
| Publication Year: |
2023 |
| Subject Terms: |
code quality; code refactoring; grounded theory; misconceptions; program snapshot analysis; programming education; student code refactoring misconceptions; Taverne |
| Description: |
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. |
| Document Type: |
book part |
| File Description: |
application/pdf |
| Language: |
English |
| ISSN: |
1942-647X |
| Relation: |
https://dspace.library.uu.nl/handle/1874/430377 |
| Availability: |
https://dspace.library.uu.nl/handle/1874/430377 |
| Rights: |
info:eu-repo/semantics/OpenAccess |
| Accession Number: |
edsbas.AD8AAB8F |
| Database: |
BASE |