What programmers do with inheritance in java

14Citations
Citations of this article
31Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Inheritance is a distinguishing feature of object-oriented programming languages, but its application in practice remains poorly understood. Programmers employ inheritance for a number of different purposes: to provide subtyping, to reuse code, to allow subclasses to customise superclasses' behaviour, or just to categorise objects. We present an empirical study of 93 open-source Java software systems consisting over over 200,000 classes and interfaces, supplemented by longitudinal analyses of 43 versions of two systems. Our analysis finds inheritance is used for two main reasons: to support subtyping and to permit what we call external code reuse. This is the first empirical study to indicate what programmers do with inheritance. © 2013 Springer-Verlag Berlin Heidelberg.

Cite

CITATION STYLE

APA

Tempero, E., Yang, H. Y., & Noble, J. (2013). What programmers do with inheritance in java. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7920 LNCS, pp. 577–601). Springer Verlag. https://doi.org/10.1007/978-3-642-39038-8_24

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free