• DocumentCode
    2544434
  • 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
  • fYear
    2011
  • fDate
    22-24 June 2011
  • Firstpage
    211
  • Lastpage
    212
  • 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;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Program Comprehension (ICPC), 2011 IEEE 19th International Conference on
  • Conference_Location
    Kingston, ON
  • ISSN
    1092-8138
  • Print_ISBN
    978-1-61284-308-7
  • Electronic_ISBN
    1092-8138
  • Type

    conf

  • DOI
    10.1109/ICPC.2011.32
  • Filename
    5970185