About 50 results
Open links in new tab
  1. What is refactoring and what is only modifying code?

    Fowler draws a clean line between changes to code that do, and those that do not, affect its behavior. He calls those that do not, "refactoring". This is an important distinction, because if we divide our …

  2. What is refactoring? - Stack Overflow

    In essence when you refactor you are improving the design of the code after it has been written.” - Martin Fowler (Father of Code Smell). An example of a refactoring could be extract method (Figure …

  3. refactoring - "refactor refactor refactor your code." What does this ...

    Refactoring code is a process of cleaning up your code, reducing the clutter and improving the readability without causing any side effects or changes to features. Basically, you refactor by …

  4. How to refactor legacy code effectively and efficiently?

    Sep 10, 2010 · Instead, refactor the code that you work with. While working with a legacy system for several years, I have personally found that: Create for yourself a vision of how you want the code …

  5. refactoring - When should you not refactor? - Stack Overflow

    May 1, 2013 · You do not refactor code when you cannot test the resulting code in time to deliver it such that it is still valuable to the recipient. You do not refactor code when your refactoring will not improve …

  6. How to refactor this function to reduce its Cognitive Complexity from ...

    Jul 13, 2020 · How to refactor this function to reduce the complexicity When I am using switch case at that time code complixity is more so how to reduce it How to achive this var has = …

  7. javascript - Refactor this method to reduce its Cognitive Complexity ...

    Jul 9, 2020 · Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. How to refactor and reduce the complexity Asked 5 years, 6 months ago Modified 1 year, 6 months ago …

  8. Semantic commit type when remove something - Stack Overflow

    Jan 3, 2018 · What semantic commit type is better to use, when I remove a feature: feat, refactor or something else?

  9. Refactor local variable name using Visual Studio Code

    Nov 21, 2017 · 181 I have this simple situation. I'd like to refactor the name of the role variable: It looks like Visual Studio Code is smart enough to know that "roles" in the URL should not be touched. I just …

  10. How to refactor variable type in Eclipse? - Stack Overflow

    I want to refactor code like this: int x=4; int y=x; System.out.println(y); How can i do this automatically in Eclipse so x's type promotion to long would cause dependent variables to change their...