Empirical Study of Programming to an Interface - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2019

Empirical Study of Programming to an Interface

Résumé

A popular recommendation to programmers in object-oriented software is to "program to an interface, not an implementation" (PTI). Expected benefits include increased simplicity from abstraction, decreased dependency on implementations , and higher flexibility. Yet, interfaces must be immutable, excessive class hierarchies can be a form of complexity, and "speculative generality" is a known code smell. To advance the empirical knowledge of PTI, we conducted an empirical investigation that involves 126 Java projects on GitHub, aiming to measuring the decreased dependency benefits (in terms of cochange).
Fichier principal
Vignette du fichier
Fuhrman 2019 19359.pdf (230.9 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-02353681 , version 1 (07-11-2019)

Identifiants

  • HAL Id : hal-02353681 , version 1

Citer

Benoît Verhaeghe, Christopher Fuhrman, Latifa Guerrouj, Nicolas Anquetil, Stéphane Ducasse. Empirical Study of Programming to an Interface. Automated Software Engineering (ASE 2019), Nov 2019, San Diego, United States. ⟨hal-02353681⟩
70 Consultations
153 Téléchargements

Partager

Gmail Facebook X LinkedIn More