DEV Community

Discussion on: Pain points In Legacy code refactoring?

Collapse
 
shaunchong profile image
shaunchong • Edited

Functions that are hundreds of lines long.

No coding style or standards followed.

Lack of documentation and not knowing what the dependencies are for the system, not knowing what other service or function might break due to your changes.

But most importantly, the lack of automated testing. It becomes increasingly harder to ship your refactored code when you don't have the confidence that it will not break something else.