CLEAN CODE
the importance of refactoring
DOI:
https://doi.org/10.31510/infa.v19i1.1373Keywords:
clean code, development, refactoringAbstract
The act of writing code is often overlooked, but it is the foundation that drives every move, positive or negative, to its ultimate goal. As software evolves, it can acquire certain types of rigidity, allowing the software to reach the end of its life cycle. The so-called clean architecture is one of the solutions proposed to minimize this symptom. Clean code has become a development philosophy whose primary goal is to apply simple techniques designed to make code easier to write and read. In the process of cleaning or writing clean code, there is a process called refactoring, which is a process of improving the code without creating new features, which helps in transforming the code. In this work, the concepts of clean code and refactoring will be discussed, through a descriptive bibliographic research, with the objective of demonstrating the processes of creating a clean code and transforming a code through refactoring. As a result, it was possible to observe that the creation of a clean code is beneficial for the system because it makes it easier the maintenance and speeding up its development. Thus, it can be concluded that refactoring is an important process throughout the development process, just as attention to every detail is a good practice.
Downloads
References
ANDRADE, Maria M. Introdução à metodologia do Trabalho Científico. 7. ed. São Paulo. Editora Atlas S.A. 2006.
BECK, Kent. Extreme Programming Explained: Embrace Change. 2. ed. revisada. Addison-Wesley Professional, 2004.
CAVALCANTE, Pablo H. A.; Entenda o que é refatoração e suas principais técnicas. GeekHunter. Jan. 2021. Disponível em: <https://blog.geekhunter.com.br/refatoracao/>. Acesso em: 02 Fev. 2022.
CERVO, A.; BERVIAN, P.; SILVA, R. Metodologia Científica. 6. ed. São Paulo. Editora Pearson. 2010.
FOWLER, Martin. Refatoração: Aperfeiçoando o design de códigos existentes. 1. ed. Porto Alegre: Artmed Editora SA, 2000.
GIL, Antonio C. Métodos e Técnicas e Pesquisa Social. 6. ed. São Paulo. Editora Atlas S.A. 2008.
HORN, Michelle. Clean Code: o que é, porque usar e principais regras!. Blog BeTrybe. Fev. 2021. Disponível em: <https://blog.betrybe.com/tecnologia/clean-code/>. Acesso em: 02 Fev. 2022.
KERIEVSKY, Joshua. Refatoração para padrões. 1. ed.Porto Alegre: Bookman Editora LTDA, 2008.
MARTIN, Robert C. Código Limpo: Habilidades Práticas do Agile Software. 1. ed. Atlas Book, 2009.
MARTIN, Robert C; MARTIN, Micah. Princípios, Padrões e Práticas Ágeis em C#. 1. ed. Porto Alegre: Bookman, 2011. Kindle.
ZANETTE, Alysson. Clean Code: Boas práticas para manter seu código limpo!. BeCode. 2017. Disponível em: <https://becode.com.br/clean-code/> Acesso em: 02 Fev. 2022.
Downloads
Published
Issue
Section
License
Copyright (c) 2022 Revista Interface Tecnológica

This work is licensed under a Creative Commons Attribution 4.0 International License.
Os direitos autorais dos artigos publicados pertencem à revista Interface Tecnológica e seguem o padrão Creative Commons (CC BY 4.0), que permite o remixe, adaptação e criação de obras derivadas do original, mesmo para fins comerciais. As novas obras devem conter menção ao(s) autor(es) nos créditos.


.jpg)


1.png)
1.png)