FRANÇAIS
A showcase of ÉTS researchers’ publications and other contributions
SEARCH

Empirical study of programming to an interface

Downloads

Downloads per month over past year

Verhaeghe, Benoît, Fuhrman, Christopher, Anquetil, Nicolas, Guerrouj, Latifa et Ducasse, Stéphane. 2019. « Empirical study of programming to an interface ». In 34th IEEE/ACM International Conference on Automated Software Engineering (ASE 2019) (San Diego, CA, USA, Nov. 11-15 2019)
(In press)

[img]
Preview
PDF
Fuhrman 2019 19359.pdf - Accepted Version
Use licence: All rights reserved to copyright holder.

Download (236kB) | Preview

Abstract

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).

Item Type: Conference proceeding
Professor:
Professor
Fuhrman, Christopher
Guerrouj, Latifa
Affiliation: Génie logiciel et des technologies de l'information, Génie logiciel et des technologies de l'information
Date Deposited: 18 Sep 2019 18:49
Last Modified: 02 Oct 2019 14:14
URI: http://espace2.etsmtl.ca/id/eprint/19359

Actions (login required)

View Item View Item