D
Dicread
InícioDicionárioRrefactoring

Nota: A tradução desta entrada está atualmente em revisão de qualidade, portanto parte do conteúdo é exibida temporariamente apenas em inglês.

Este verbete ainda não foi traduzido para o seu idioma, portanto o original é exibido abaixo.

refactoring

The process of restructuring existing computer code without changing its external behavior to improve non-functional attributes such as readability, complexity, and maintainability.
Noun

This term describes a surgical approach to software development where the internal structure of the code is cleaned and optimized while the observable functionality remains identical. It is a preventative measure against software rot, focusing on the long-term health of a system rather than the immediate addition of new features.

In professional environments, it is often contrasted with rewriting. While a rewrite discards the old system to start fresh, refactoring evolves the existing system through small, incremental changes. It is typically associated with a high degree of discipline, requiring comprehensive test suites to ensure that no regressions are introduced during the process.

Meanings

Examples

The team spent the entire sprint on refactoring the legacy codebase.

Office

I need to spend some time refactoring this function because it has become too complex.

Continuous refactoring is essential to prevent the accumulation of technical debt.

Business

We should prioritize refactoring over adding new features for this cycle.

We should prioritize refactoring over adding new features for this cycle.

Office

The code is working but it is a mess so it needs some serious refactoring.

The code is working but it is a mess so it needs some serious refactoring.

Refactoring the data layer improved the overall performance of the application.

Refactoring the data layer improved the overall performance of the application.

Is this a bug fix or just some general refactoring?

Is this a bug fix or just some general refactoring?

Office

I will start refactoring the authentication module tomorrow morning.

Proper refactoring ensures that the software remains maintainable as it grows.

Proper refactoring ensures that the software remains maintainable as it grows.

Business

Related Words

Última atualização: May 2026Reportar um erro