Traditional Culture Encyclopedia - Traditional stories - The difference between reconstruction and reconstruction

The difference between reconstruction and reconstruction

Definition, goal.

1. Definition: Refactoring refers to the process of optimizing the existing code by improving the internal structure and code quality without changing the external behavior of software, while refactoring refers to the fundamental transformation of software due to serious problems in software design and implementation or changes in requirements.

2. Goal: The main goal of refactoring is to improve the maintainability and understandability of the software by modifying the code, reduce the repetition and redundancy in the code, and make the code easier to expand and modify. The main goal of refactoring is to solve the problems existing in the original software and meet the new requirements by redesigning and implementing the software.