Design Patterns · Junior · Question 44 of 75

What is refactoring?

Explanation

The goal is to make code clearer and easier to change. It's done in small steps under the protection of tests. If behavior changes, it's no longer refactoring but a functional change.

Further reading

Problem with a question

Design Patterns · Junior · question 44

Test yourself

Take the Design Patterns · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz