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

Publikation: Bidrag til tidsskrift/Konferencebidrag i tidsskrift /Bidrag til avisTidsskriftartikel

    Jürgen Börstler, School of Computing, Blekinge Institute of Technology, Karlskrona, Sverige
  • Michael E. Caspersen
  • Marie Nordström, Department 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.
TidsskriftSoftware Quality Journal
Sider (fra-til)231-246
Antal sider16
StatusUdgivet - jun. 2016


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

Se relationer på Aarhus Universitet Citationsformater

ID: 51340949