What is Refactoring? — UK Software Development Guide
Direct Answer
Refactoring is the process of restructuring existing code without changing its external behaviour. The goal is to improve code quality — making it more readable, maintainable, testable, and efficient — without adding new features or fixing bugs. Refactoring is typically described as "changing how the code works internally without changing what it does externally."
Refactoring in the UK
Refactoring has direct UK business value. The primary benefit is reducing technical debt interest — legacy UK software that has never been refactored accumulates costs at 60–80% of the engineering budget in maintenance overhead. UK GDPR creates specific refactoring urgency: legacy code with insecure data handling, missing encryption, or inadequate access controls must be refactored to meet Article 32 requirements. Cyber Essentials patch management is easier with well-refactored code where dependencies are clearly isolated.
Related Glossary Terms
Refactoring-vs-rewriting
Refactoring vs Rewriting explained. Refactoring is improving existing code's internal structure without changing its external behaviour. Rewriting...
Brownfield-vs-greenfield
Brownfield vs Greenfield explained. Greenfield software development means building from scratch — a new project with no existing codebase or legac...
Cloud-migration
Cloud Migration explained for UK software developers. Cloud migration is the process of moving data, applications, or IT resources from on-premises infrastructure (physical s...
Code-review
Code Review explained for UK software developers. A code review is the systematic examination of code by one or more developers (other than the original author) before it...
Code-smell
Code Smell explained. A code smell is a surface indication in code that suggests there may be a deeper problem with the code's desig...
Database-migration
Database Migration explained for UK software developers. Database migration is the process of moving data from one database system to another, or upgrading to a newer version of...
Get Expert Advice on Refactoring
Speak with our UK software development experts about Refactoring. Free consultation, transparent pricing, no obligation.