Back to Search Start Over

Looking at the main Method – An Educator’s Perspective

Authors :
Teresa Busjahn
Simon
James H. Paterson
Source :
Koli Calling
Publication Year :
2021
Publisher :
ACM, 2021.

Abstract

There have been a number of studies on gaze tracking in programming, examining how people read program code when tasked with understanding it, but the implications for programming education are not always entirely clear. We tracked the gaze of both novices and experts while they were reading small Java programs, and subsequently interviewed some of the participants about that task. While experts typically said that they start by looking for the program’s entry point, novices appeared not to follow such a purposeful approach. Subsequent analysis of the gaze data confirms this effect. Experts attend to the main method early on when reading a program without looking at much else beforehand. They also read main more comprehensively than the rest of the program. Novices, on the other hand, arrive at main much later and only after having already read much of the code above main, which was located at the end of the code. We conclude that there is potential benefit in explicitly guiding novices in the art of reading code and the importance of attending to main as they do so – teaching them how to read as an aspect of teaching them how to write.

Details

Database :
OpenAIRE
Journal :
21st Koli Calling International Conference on Computing Education Research
Accession number :
edsair.doi...........441f4a5f77fe5c02218383dec7e8810c
Full Text :
https://doi.org/10.1145/3488042.3488068