Refactoring - benchristel/benchristel.github.io GitHub Wiki
MartinFowler coined the term "refactoring". You can read more about it on https://refactoring.com/.
"Refactoring" gets used as both a verb and a noun:
As a verb: to refactor code is to alter its internal structure without changing its externally-visible behavior. The focus of refactoring is on making code easier to understand and change.
As a noun: a refactoring is a single, small, atomic, reversible, behavior-preserving change to the structure of code. These refactorings have names: Extract Variable, Extract Function, Change Value to Reference, Replace Query With Parameter.... Martin Fowler named 66 refactorings (listed on his website). I've identified a few more.