Refactoring Glossary

Browse 22 refactoring terms defined in plain English, from the cultural dictionary of computing.

22 Refactoring Terms

Code Cleanup
Work that improves readability, structure, or maintainability of code without intentionally changing its external behavior. Code cleanup often includes...
Code Clone
A duplicated or near-duplicated block of code that appears in multiple places, often because logic was copied and modified instead of extracted or reused...
Code Crusade
A highly motivated campaign to clean up, standardize, or replace something in a codebase, often with a little too much righteous energy. In engineering slang,...
Code Gardening
The ongoing, low-drama work of tending a codebase through small cleanups, dependency updates, test fixes, documentation, and minor refactors so it stays...
Code Kata
A small, repeatable programming exercise used to practice a particular technique, design move, or problem-solving pattern. Like martial arts kata, the point is...
Code Laundry
A joking phrase for routine cleanup work on a codebase, such as renaming, formatting, untangling small messes, or clearing out backlog grime that makes...
Code Migration
The process of moving code from one language, framework, architecture, or execution model to another while preserving required behavior. Code migrations range...
Code Refactoring Culture
A team's shared attitude toward improving code structure without changing external behavior. Healthy code refactoring culture means cleanup is treated as...
Code Renaissance
A period of unusually strong improvement, cleanup, and creative energy in a codebase or engineering culture. In engineering slang, code renaissance suggests...
Code Scalpel
A precise, minimal technical change designed to solve a problem without disturbing unrelated parts of the system. In engineering slang, using the code scalpel...
Code Smell
A surface-level indication in code that usually corresponds to a deeper design problem. Not a bug — the code works — but something about it suggests it could...
Code Surgery
A delicate, targeted code change made deep inside a fragile system where the goal is to fix one thing without disturbing everything around it. Teams use it...
Code Yoga
A playful term for stretching code or one's thinking into different shapes to make an awkward situation fit. In engineering slang, code yoga can mean elegant...
FOMO Code
Code written or architecture chosen mainly because a team fears missing the latest trend rather than because it fits the problem. It often ages badly because...
Hate-Driven Development
A joking phrase for writing tools, scripts, or refactors because a workflow, dependency, or codebase has become so frustrating that irritation itself becomes...
Null Object Pattern
A design pattern in which a special object implementing the expected interface but performing no operations (no-ops) is used in place of null references,...
Refactoring Worm
A joking metaphor for the urge to keep refactoring deeper and deeper once you start touching a code path, expanding a small change into a much larger cleanup...
Refactor the World
To expand a cleanup effort until it tries to touch everything instead of solving the original bounded problem. In engineering slang, refactoring the world is...
Rule of Three
A software design heuristic that suggests waiting until you have implemented something three times before extracting a general abstraction. It is meant to...
Service Object
A plain Ruby (or similar language) object that encapsulates a single business operation — such as `CreateOrder` or `SendInvitation` — extracting complex logic...
Shotgun Surgery
A code smell where one conceptual change requires small edits across many different files or modules. It signals poor cohesion because related behavior is...
Tidy
To clean up code formatting, remove dead code, fix linting violations, or reorganize imports without changing behavior — often done as a separate commit or PR...

Related Topics