Linking Code Readability, Structure, and Comprehension among Novices: It's ComplicatedSEET
Novices’ functionally-correct code is often redundant, verbose, or un-idiomatic. Such code could indicate shallow understanding of the programming language, or unfamiliarity with experts’ preferences for code structure. Understanding why novices write poorly is important for designing instruction and tools to help novices write elegantly. 231 novices judged style and readability for sets of code snippets targeting seven topics. Within each set, functionality was the same, but the writing followed either common novice patterns or a more elegant, “expert” pattern. Overall, 76% of novices thought the "expert” snippets had the best style, but only 64% said those snippets were most readable. However, comprehension was similar for both “expert” and novice patterns, regardless of readability preferences. This suggests that students who prefer novice patterns do not necessarily have deep misunderstandings about the programming language. One topic included a code-writing task, and students’ readability preferences were predictive of their code-writing patterns, suggesting that readability preferences reflect writing choices rather than comprehension. Thus, novices may benefit from lightweight tools that identify common patterns and suggest an “expert” solution, while helping them see that the “expert” solution is more readable than they think.
Thu 30 MayDisplayed time zone: Eastern Time (US & Canada) change
11:00 - 12:30 | SE Instructional StrategiesSoftware Engineering Education and Training / Posters at St-Paul / Ste-Catherine Chair(s): Timothy Lethbridge University of Ottawa | ||
11:00 15mTalk | The Case of the Fragmented ClassroomSEET Software Engineering Education and Training William Billingsley University of New England | ||
11:15 6mPoster | Quantifying Patterns and Programming Strategies in Block-based Programming Environments Posters | ||
11:21 15mTalk | Linking Code Readability, Structure, and Comprehension among Novices: It's ComplicatedSEET Software Engineering Education and Training Pre-print | ||
11:36 10mTalk | FVT: A Fragmented Video Tutor for "Dubbing" Software Development TutorialsSEET Software Engineering Education and Training Chunyin Nong , Qiao Zhang Dept. of Computer Science and Engineering, Southern Methodist University, Dallas, TX, 75205, Liguo Huang Dept. of Computer Science, Southern Methodist University, Dallas, TX, 75205, Di Cui Xi'an Jiaotong University, Qinghua Zheng MOEKLINNS Lab, Department of Computer Science and Technology, Xi'an Jiaotong University, 710049, China, Ting Liu MOEKLINNS Lab, Department of Computer Science and Technology, Xi'an Jiaotong University, 710049, China | ||
11:46 15mTalk | Mistakes in UML Diagrams: Analysis of Student Projects in a Software Engineering CourseSEET Software Engineering Education and Training Stanislav Chren Masaryk University, Barbora Buhnova Masaryk University, Martin Macak Masaryk University, Faculty of Informatics, Lukas Daubner Masaryk University, Faculty of Informatics, Bruno Rossi Masaryk University Pre-print | ||
12:01 29mTalk | Author Panel DiscussionSEET Software Engineering Education and Training |