About 400 results
Open links in new tab
  1. 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. The mantra of refactoring is …

  2. 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.

  3. 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 …

  4. Clean code - Refactoring.Guru

    Each time you have to make a change in a duplicate code, you have to remember to make the same change to every instance. This increases the cognitive load and slows down the progress.

  5. Refactoring Techniques

    The vagaries of code inside these methods conceal the execution logic and make the method extremely hard to understand—and even harder to change. The refactoring techniques in this …

  6. 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. …

  7. 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 …

  8. Extract Method - SourceMaking

    Problem: You have a code fragment that can be grouped together. Solution: Move this code to a separate new method (or function) and replace the old code with a call to the method.

  9. Decompose Conditional - SourceMaking

    By extracting conditional code to clearly named methods, you make life easier for the person who’ll be maintaining the code later (such as you, two months from now!).

  10. Refactorización y patrones de diseño

    Refactoring.Guru te ayuda a descubrir todo lo que necesitas saber sobre la refactorización, los patrones de diseño, los principios SOLID y otros temas de la programación inteligente.