Abstract
Code reuse is a common and recommended practice. However, to avoid code duplication reuse may require substantial refactoring effort, especially in legacy code with which the developer is not profoundly familiar. For this reason, developers often prefer to reimplement simple code fragments rather than properly reuse them. In this work, we describe the use of annotations to recommend a useful piece of code for subsequent reuse. These annotations then guard the code against changes that can complicate its extraction, thus allowing subsequent developers to easily locate and reuse it.
Original language | English |
---|---|
Title of host publication | SPLASH Companion 2022 - Companion Proceedings of the 2022 ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications |
Subtitle of host publication | Software for Humanity |
Editors | Alex Potanin |
Publisher | Association for Computing Machinery, Inc |
Pages | 9-10 |
Number of pages | 2 |
ISBN (Electronic) | 9781450399012 |
DOIs | |
State | Published - 1 Dec 2022 |
Event | 2022 ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity, SPLASH Companion 2022 - Auckland, New Zealand Duration: 5 Dec 2022 → 8 Dec 2022 |
Publication series
Name | SPLASH Companion 2022 - Companion Proceedings of the 2022 ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity |
---|
Conference
Conference | 2022 ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity, SPLASH Companion 2022 |
---|---|
Country/Territory | New Zealand |
City | Auckland |
Period | 5/12/22 → 8/12/22 |
Bibliographical note
Publisher Copyright:© 2022 Association for Computing Machinery.
Keywords
- code reuse
- refactoring