• DocumentCode
    2435945
  • Title

    Is there any difference in novice comprehension of a small program written in the event-driven and object-oriented styles?

  • Author

    Khazaei, Babak ; Jackson, Michael

  • Author_Institution
    Sch. of Comput. & Manage. Sci., Sheffield Hallam Univ., UK
  • fYear
    2002
  • fDate
    2002
  • Firstpage
    19
  • Lastpage
    26
  • Abstract
    We report on the conduct and the results of an experiment that investigates the program comprehension differences between event-driven and object-oriented programming styles. A group of novice programmers were asked to comprehend two isomorphic programs and answered a series of five questions on each of the programs. Each question was to address one of five knowledge categories that together formed a complete mental representation of the two programs. Subjects performed badly on recalling the elementary operations knowledge in both styles. They performed very well in the data flow, control flow, function and state knowledge categories for both styles. Subjects were not significantly better in the last four categories indicating that the comprehension of event-driven and object oriented styles have a lot in common. A comparison of these results with the results of earlier studies, which compared procedural and object-oriented styles, indicates that procedural style is furthest away amongst the three styles. The results are discussed in terms of relevance to the theory of program comprehension.
  • Keywords
    object-oriented programming; reverse engineering; control flow; data flow; event-driven programming style; function; isomorphic programs; knowledge categories; mental representation; novice programmers; object-oriented programming style; small program comprehension; state; Application software; Cognitive science; Conferences; Environmental management; Humans; Java; Object oriented programming; Programming profession; Statistical analysis; Visual BASIC;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Human Centric Computing Languages and Environments, 2002. Proceedings. IEEE 2002 Symposia on
  • Print_ISBN
    0-7695-1644-0
  • Type

    conf

  • DOI
    10.1109/HCC.2002.1046336
  • Filename
    1046336