Title
Eye movements in code reading: relaxing the linear order
Abstract
Code reading is an important skill in programming. Inspired by the linearity that people exhibit while natural language text reading, we designed local and global gaze-based measures to characterize linearity (left-to-right and top-to-bottom) in reading source code. Unlike natural language text, source code is executable and requires a specific reading approach. To validate these measures, we compared the eye movements of novice and expert programmers who were asked to read and comprehend short snippets of natural language text and Java programs. Our results show that novices read source code less linearly than natural language text. Moreover, experts read code less linearly than novices. These findings indicate that there are specific differences between reading natural language and source code, and suggest that non-linear reading skills increase with expertise. We discuss the implications for practitioners and educators.
Year
DOI
Venue
2015
10.1109/ICPC.2015.36
ICPC
Keywords
Field
DocType
novice,expert,eye movements,code reading,eye tracking
Gaze,Source code,Computer science,Eye movement,Eye tracking,Natural language,Artificial intelligence,Natural language processing,Java,Empirical research,Executable
Conference
ISSN
ISBN
Citations 
1092-8138
978-1-5386-0535-6
35
PageRank 
References 
Authors
1.19
20
8
Name
Order
Citations
PageRank
Teresa Busjahn11145.35
Roman Bednarik256148.77
Andrew Begel3115470.70
Martha E. Crosby425543.06
James H. Paterson510211.09
Carsten Schulte639049.99
Bonita Sharif743727.18
Sascha Tamm8361.90