CLEAN CODE

the importance of refactoring

Authors

  • Caio Augusto Miquelutti Porto Faculdade de Tecnologia de Taquaritinga (Fatec) – Taquaritinga – São Paulo – Brasil , Faculdade de Tecnologia de Taquaritinga (Fatec) – Taquaritinga – São Paulo – Brasil https://orcid.org/0000-0002-1396-1447
  • Oswaldo Lazaro Mendes Faculdade de Tecnologia de Taquaritinga (Fatec) – Taquaritinga – SP – Brasil , Faculdade de Tecnologia de Taquaritinga (Fatec) – Taquaritinga – SP – Brasil https://orcid.org/0000-0002-0761-2670

DOI:

https://doi.org/10.31510/infa.v19i1.1373

Keywords:

clean code, development, refactoring

Abstract

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.

Views: 1104Downloads: 842

Downloads

Download data is not yet available.

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.

Published

2022-06-30

Issue

Section

Computer Technology

How to Cite

PORTO, C. A. M.; MENDES, O. L. CLEAN CODE: the importance of refactoring. Interface Tecnológica, v. 19, n. 1, p. 56–64, 30 June2022.