Refactoring - Part 2 (Techniques for Cleaning Up the Smells)

Other Parts of This Series: Part 1: Refactoring - Part 1 (Principle, What It Is & Is Not, Identify the Smells First) Refactoring Techniques In our previous part, we talked about what is refactoring and what is not, the motivation behind this, and identifying the common code smells we generally found in our codebase. In this part we are going to explore some well-known techniques that can help us to clean up the code smells. So let’s start… ...

August 28, 2025 · 8 min · Saiful Islam Rasel

Refactoring - Part 1 (Principle, What It Is & Is Not, Identify the Smells First)

Other Parts of This Series: Part 2: Refactoring - Part 2 (Techniques for Cleaning Up the Smells) Refactoring Principles Main Principle of Refactoring The main motivation of refactoring is the Boy Scout rule, which is “Keep the camp ground cleaner than you found it.” In our words, “Keep the codebase cleaner and more readable than you found it.” Definition Refactoring is the process of restructuring existing code to improve its quality (like readability or performance) without altering its external or existing behavior. ...

August 27, 2025 · 5 min · Saiful Islam Rasel

We use cookies and technologies like Google Analytics and Microsoft Clarity to understand how users interact with our site and improve your experience.