© 2017-2024 Leonardo Montecchi
Conference Paper
Authors | |
---|---|
Abstract | Dynamic features offered by programming languages provide greater flexibility to the programmer (e.g., dynamic constructions of classes and methods) and reduction of duplicate code snippets. However, the unnecessary use of dynamic features may detract from the code in many ways, such as readability, comprehension, and maintainability of software. Therefore, this paper proposes 20 refactorings that replace dynamic instructions with static ones. In an evaluation on 28 open-source Ruby systems, we could refactor 743 of 1,651 dynamic statements (45%). |
DOI | 10.1145/3264637.3264645 |
Event | XXII Simpósio Brasileiro de Linguagens de Programação (SBLP 2018) |
Venue | São Carlos, SP, Brazil |
Date | September 20-21, 2018 |
Pages | 59-66 |
Publisher | ACM |
ISBN | 978-1-4503-6480-5 |
Citation |
Bibtex
@inproceedings{2018SBLP, author = {de Oliveira Rodrigues Jr., Elder and Serapilha Durelli, Rafael and Winckler de Bettio, Raphael and Montecchi, Leonardo and Terra, Ricardo}, title = {{Refactorings for Replacing Dynamic Instructions with Static ones: The Case of Ruby}}, booktitle = {XXII Simpósio Brasileiro de Linguagens de Programação (SBLP 2018)}, address = {São Carlos, SP, Brazil}, date = {2018-09-20/2018-09-21}, pages = {59-66}, year = {2018} }
Plain TextE. Rodrigues Jr., R. Durelli, R. de Bettio, L. Montecchi, R. Terra.
Refactorings for Replacing Dynamic Instructions with Static ones: The Case of Ruby.
In: XXII Simpósio Brasileiro de Linguagens de Programação (SBLP 2018), pp. 59-66.
São Carlos, SP, Brazil, September 20-21, 2018.
|
© 2017-2024 Leonardo Montecchi