
Refactoring: clean your code
Refactoring is the controllable process of systematically improving your code without writing new functionality. The goal of refactoring is to pay off technical debt.
Refactoring and Design Patterns
Hello, world! Refactoring.Guru makes it easy for you to discover everything you need to know about refactoring, design patterns, SOLID principles, and other smart programming topics. This site shows …
Clean code - Refactoring.Guru
Clean code The main purpose of refactoring is to fight technical debt. It transforms a mess into clean code and simple design. Nice! But what’s clean code, anyway? Here are some of its features: Clean …
Refactoring Techniques
These refactoring techniques help with data handling, replacing primitives with rich class functionality. Another important result is untangling of class associations, which makes classes more portable and …
How to refactor
Refactoring should be done as a series of small changes, each of which makes the existing code slightly better while still leaving the program in working order.
When to refactor
Refactoring helps you understand other people’s code. If you have to deal with someone else’s dirty code, try to refactor it first. Clean code is much easier to grasp. You will improve it not only for …
Interactive Refactoring Course: Dive Into Refactoring
What’s inside? The course teaches you about 21 smells of bad code and 66 refactoring techniques to fix them. Each chapter includes examples in Java, C# and PHP. The refactoring techniques are …
Catalog of Refactoring
Full list of refactoring techniques and code smells. It's better to understand what's wrong with the code before trying to improve it. Once problem is determined, just pick a refactoring and follow it's instruction.
Extract Method - SourceMaking
This is the main reason for this refactoring. Besides eliminating rough edges in your code, extracting methods is also a step in many other refactoring approaches.
The Catalog of Design Patterns - refactoring.guru
The catalog of design patterns grouped by intent, complexity, and popularity. The catalog contains all classic design patterns and several architectural patterns.