Deprecation is a language feature that allows API producers to mark a feature as obsolete. We aim to gain a deep understanding of the needs of API producers and consumers alike regarding deprecation. To that end, we investigate why API producers deprecate features, whether they remove deprecated features, how they expect consumers to react, and what prompts an API consumer to react to deprecation. To achieve this goal we conduct semi-structured interviews with 17 third-party Java API producers and survey 170 Java developers. We observe that the current deprecation mechanism in Java and the proposal to enhance it does not address all the needs of a developer. This leads us to propose and evaluate three further enhancements to the deprecation mechanism.
|Title of host publication||ICSE' 18 Proceedings of the 40th International Conference on Software Engineering|
|Place of Publication||New York|
|Publisher||Association for Computer Machinery|
|Number of pages||11|
|Publication status||Published - 2018|
|Event||ICSE 2018: 40th International Conference on Software Engineering - Gothenburg, Sweden|
Duration: 27 May 2018 → 3 Jun 2018
Conference number: 40
|Period||27/05/18 → 3/06/18|
Sawant, A. A., Aniche, M., van Deursen, A., & Bacchelli, A. (2018). Understanding Developers' Needs on Deprecation as a Language Feature. In ICSE' 18 Proceedings of the 40th International Conference on Software Engineering (pp. 561-571). Association for Computer Machinery.