Skip to content

Latest commit

 

History

History
12 lines (6 loc) · 812 Bytes

refactoring.md

File metadata and controls

12 lines (6 loc) · 812 Bytes

Refactoring is essential to keep a healthy codebase. It's akin to visiting the dentist/doctor once in a while to ensure things are doing well (but you are the doctor, so if you say everything is okay, then it's okay).

There are some useful ways to refactoring, but generally it's about recognizing the patterns, and extracting them, making them more modular:

Note that there are other means of refactoring that is not taken into account here, such as those at the architectural level (microservice vs monolith, even sourcing etc). Always see what can be done at the code level first before deciding on such large refactoring.