Events2Join

How do you refactor a large messy codebase?


How do you refactor a large messy codebase? - Stack Overflow

How do you refactor a large messy codebase? · Determine what the purpose of the code was · Draw UML and action diagrams of the classes involved ...

How to *resist* refactoring a large spaghetti codebase? - Reddit

This is not necessarily true for all refactorings, but messy code frequently provides space for bugs to hide. Aesthetics and correctness are ...

How to refactor large, HUGE, complex codebases - Andriy Drozdyuk

How to refactor large, HUGE, complex codebases · Your system is always in a good working state · You focus on one change at a time · You have a ...

How to improve large and messy codebases without breaking them

Incremental Refactoring: Break down the large codebase into smaller, manageable portions and refactor them incrementally. This reduces the ...

How to Refactor a Codebase? - Better Programming

Meet with a few developers who have worked on the code that you will refactor · Come up with a step by step plan with the team · Inform the other ...

The Simple Ways to Refactor Terrible Code | Personal Website & Blog

You can either fix things like wrong indentation or missing {} around code-blocks as you go or you can take little more systematic approach. The ...

How do you manage refactoring with a large code base and many ...

I would definitely suggest some kind of hierarchical approach to allocating the refactoring work. The developers could be logically grouped into ...

Ask HN: Codebase at my work is a complete mess, what should I do?

Adding tests makes it easier to confidently refactor the code later on. afx on Aug 24, ...

How To Refactor Your Codebase - DEV Community

Enhances code maintainability: Code refactoring increases code maintainability by breaking down large functions and structuring them logically.

Refactoring: This class is too large - Martin Fowler

This is a real code base and a messy code base (hence the refactoring), so there's a lot of code. For those who want to know more, I do link ...

How I Mass Refactored Our Production Codebase Without Fear

In the rest of this article, I will give you a sense of how large refactors are done in production codebases of large enterprise products. I will talk more ...

Common Sense Refactoring of a Messy React Component

There's no reason to have dead code in the codebase - commented-out logic, unused state, unused imports. If you ever need it again, you can find ...

Refactoring Legacy Code: Steps and Best Practices - ModLogix

There are two options, you can either rewrite the entire code or refactor it. On the one hand, rewriting is quite easy for the developers but ...

Live-Refactoring a realistic codebase - YouTube

There are many brilliant refactoring katas out there (e.g. https://kata-log.rocks/), each aiming to expose the software crafter to various ...

Code Refactoring: Meaning, Benefits and Best Practices - Mad Devs

Code refactoring is a process that involves restructuring a computer code base without adding new features or changes to its external behavior.

5 Tips to Refactor Code as a True Professional in 2024 - Hapy Co

A lengthy dirty code having code duplication is not only challenging to comprehend but also challenging to apply. The composing technique for ...

Don't Fear the Refactor: Keeping Your Codebase Clean and Agile

In the fast-paced world of software development, code can quickly become messy as new features are added and deadlines tighten, ...

Software Code Refactoring for CTOs: From Chaos to Clarity - MobiDev

Duplicated code, large classes, or extensive use of global variables, indicate poor design and technical debt accumulation. Addressing these ...

Start cleaning your Legacy codebase with The Daily Refactoring Hour

This is normal, chaos happens · 1h refactoring a day keeps the rewrite away · Start doing it, now · Feeling overwhelmed by Legacy Code? · Similar articles that will ...

Code Refactoring Best Practices: When and When Not to Do It

This is why so many developers utilizing Agile methodology are big proponents of code refactoring. Breaking down the refactoring process into ...