Beauty and the Beast - on the readability of object-oriented example programs

Publikation: Forskning - peer reviewTidsskriftartikel

  • Jürgen Börstler
    Jürgen BörstlerSchool of Computing, Blekinge Institute of Technology, KarlskronaSverige
  • Michael E. Caspersen
  • Marie Nordström
    Marie NordströmDepartment of Computing Science, Umeå University, UmeåSverige
Some solutions to a programming problem are more beautiful, elegant, and simple than others and thus more
understandable for students. But why is it so, and can we quantify the notion of understandability of programs?
We review desirable properties of program examples from a cognitive and a measurement point of view. It can
be argued that some cognitive aspects of example programs are captured by common software measures, but
we argue that they are not sucient to capture the most important aspects of understandability. A key aspect
of understandability is readability. The authors propose and exemplify a readability measure for software. An
application of this measure to a set of object-oriented textbook examples shows encouraging results which we
hope will ignite further research in this area.
OriginalsprogEngelsk
TidsskriftSoftware Quality Journal
Vol/bind24
Tidsskriftsnummer2
Sider (fra-til)231-246
Antal sider16
ISSN0963-9314
DOI
StatusUdgivet - jun. 2016

    Forskningsområder

  • Object-oriented programming, example programs, quality, measurement, education

Se relationer på Aarhus Universitet Citationsformater

ID: 51340949