Title :
Programming from the Reader´s Perspective: Toward an Expectations Approach
Author :
Samaraweera, Gayani ; Shonle, Macneil ; Quarles, John
Author_Institution :
Comput. Sci. Dept., Univ. of Texas at San Antonio, San Antonio, TX, USA
Abstract :
There are many guidelines for composing programs, but few methodologies take into account the expectations readers have when reading an unfamiliar program. As a result, code that seems well-written and clear to the developer might not be read and interpreted by the reader in the way the programmer expected. We conducted a survey of Java programmers to determine how a program´s structure may signal subjective cues to the reader. We found that the use of meaning-preserving program refactorings had a measurable effect on what readers believed the programmer´s main intention was.
Keywords :
Java; programming; software maintenance; Java program; expectations approach; meaning-preserving program refactoring; program composition; program structure; programming; Analytical models; Conferences; Guidelines; Java; Programming; Semantics; Writing;
Conference_Titel :
Program Comprehension (ICPC), 2011 IEEE 19th International Conference on
Conference_Location :
Kingston, ON
Print_ISBN :
978-1-61284-308-7
Electronic_ISBN :
1092-8138
DOI :
10.1109/ICPC.2011.32