Web development - Activity
Refactoring
Improving how software is structured internally without changing what it does for users
What's it for?
Makes software easier and safer to maintain without changing what users are meant to experience.
For example…
Developers simplify tangled payment code so the next feature can be added without breaking checkout
A developer refactors a 500-line function into smaller named functions while keeping the application's behaviour exactly the same for users
Think of it like…
Reorganising a messy workshop so the same jobs are faster and less error-prone