1. refactor - Noun
2. refactor - Verb
(programming) To rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour.
The code works, but I must refactor it before it is production quality.
(writing) To rewrite existing text in order to improve its readability, reusability or structure without intentionally affecting its meaning. Similar to, but sometimes involving more extensive restructuring than, copy editing.
Two significant activities which to contribute to community projects, such as Wikipedia, are to refactor complicated articles into simpler ones, and to refactor duplicated content into reusable templates.
refactor (plural refactors)
(programming) The process by which source code is refactored.
We don't have time for a major refactor: we're shipping in two weeks.
In this article, I describe how to incrementally refactor a monolithic application into a set of microservices. Source: Internet
And the rest of the stuff you would just have to slowly refactor out. Source: Internet
But to get the remaining performance increase, we had to refactor all of our code. Source: Internet
Good test coverage can bring you unscathed through a big refactor. Source: Internet
Here's what you'd learn in this lesson:Kent reviews integrating Codemod, a library used to refactor code which can be partially automated, with AST. Source: Internet
I always recommend you just write simple code that works first, then refactor a little: You will tend to see how the code clusters naturally after a while. Source: Internet