Cover for Refactoring - Improving the Design of Existing Code

Refactoring - Improving the Design of Existing Code

Martin Fowler

Summary

Key Facts and Insights:

  1. Refactoring is about improving the design of existing code by changing its internal structure without altering its external behavior.
  2. It emphasizes on the importance of having a comprehensive suite of tests that each unit of code should pass.
  3. Refactoring is a preventive activity, aimed at reducing the chance of future bugs and making the code easier to understand and modify.
  4. "Bad Smells" in code are signals that refactoring may be needed. These include long method, large class, duplicate code, etc.
  5. Refactoring techniques are presented in a step-by-step manner, demonstrating how small transformations can improve the...

    Full summary available for members.

    Log in or create a free account to view.