%%
date:: [[2023-10-11]]
parent:: [[Software Development]]
%%
# [[Refactoring code]]
Refactoring code means to modify its form or implementation without modifying its function.
Here are some reasons why developers refactor code:
- Style: to make code simpler, easier to understand, or more consistent with defined code conventions
- Surface changes in the application: to update references to elements on a page that have been renamed, while still targeting the same functionalities.
- Approach: to improve the efficiency of the code by implementing another method to do the same thing
## Related
- [[Refactoring vs factoring]]