Why Do We Break APIs? First Answers from Developers

被引:0
|
作者
Xavier, Laerte [1 ]
Hora, Andre [1 ]
Valente, Marco Tulio [1 ]
机构
[1] Fed Univ Minas Gerais UFMG, Dept Comp Sci DCC, ASERG Grp, Belo Horizonte, MG, Brazil
关键词
Software Evolution; API Stability; Backwards Compatibility; Qualitative Study;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Breaking contracts have a major impact on API clients. Despite this fact, recent studies show that libraries are often backward incompatible and that the rate of breaking changes increase over time. However, the specific reasons that motivate library developers to break contracts with their clients are still unclear. In this paper, we describe a qualitative study with library developers and real instance of API breaking changes. Our goal is to (i) elicit the reasons why developers introduce breaking changes; and (ii) check if they are aware about the risks of such changes. Our survey with the top contributors of popular Java libraries contributes to reveal a list of five reasons why developers break API contracts. Moreover, it also shows that most of developers are aware of these risks and, in some cases, adopt strategies to mitigate them. We conclude by prospecting a future study to strengthen our current findings. With this study, we expect to contribute on delineating tools to better assess the risks and impacts of API breaking changes.
引用
收藏
页码:392 / 396
页数:5
相关论文
共 50 条
  • [21] WHY DO WE DO IT
    GOODMAN, S
    NEW SCIENTIST, 1988, 120 (1638) : 70 - 70
  • [22] WHY DO WE DO IT?
    Briggs, Thomas H.
    TEACHERS COLLEGE RECORD, 1931, 32 (07): : 589 - 598
  • [23] Why do we do that?
    FDNY Bureau of Training
    Fire Eng, 2006, 1 (115-117):
  • [24] Why do we do that?
    Fire Department of New York
    不详
    不详
    Fire Eng, 2006, 7 (95-98):
  • [25] Why do we do that?
    Fire Department of New York
    Fire Eng, 2006, 4 (159-162):
  • [26] Why We Do What We Do
    Jannuzzi, Christopher J.
    ELECTROCHEMICAL SOCIETY INTERFACE, 2020, 29 (01): : 7 - 7
  • [27] This is Why We Do What We Do
    Kondziolka, Douglas
    NEUROSURGERY, 2024, 94 (06) : 1105 - 1106
  • [28] Why Do We Do It?
    Green, Carolyn
    Spinella, Judy L.
    NURSE LEADER, 2006, 4 (04) : 42 - 43
  • [29] Why do we do it?
    Hancocks, Stephen
    BRITISH DENTAL JOURNAL, 2019, 226 (03) : 159 - 159
  • [30] Why do we do it?
    Stephen Hancocks
    British Dental Journal, 2019, 226 : 159 - 159