Skip to content

Commit

Permalink
Update task.md
Browse files Browse the repository at this point in the history
language checked
  • Loading branch information
stephen-hero authored and onewhl committed Jan 24, 2024
1 parent ed6258d commit 9d087e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions RefactoringAndItsPurpose/RefactoringTechniques/Theory/task.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Task 1/2: Refactoring techniques

Developers refactor code to achieve different goals.
Sometimes refactoring is the goal in itself: for example, splitting one monolith project into several microservices.
It affects many parts of the codebase, and it’s called _**root-canal**_ refactoring.
Sometimes, refactoring is the goal in itself: for example, when splitting one monolith project into several microservices.
It affects many parts of the codebase and is called _**root-canal**_ refactoring.

In another case, developers may perform refactorings while solving other tasks, such as developing a new feature or
In other cases, developers may perform refactorings while solving other tasks, such as developing a new feature or
fixing a bug, and it’s called _**floss refactoring**_.
In this case, refactoring is secondary to the main changes.

There are two ways to perform refactorings:
- _Manually_: it is time-consuming and error-prone.
- _Using automatic refactorings_: it requires knowledge of how refactoring works and of the IDE features to invoke it.

There are many refactoring techniques. In this course, we will cover the most popular ones that are supported by IDEs, more specifically, by IntelliJ IDEA. Refactoring techniques themselves are language-independent and may be applied in different languages and IDEs.
There are many refactoring techniques. In this course, we will cover the most popular ones supported by IDEs, more specifically, by IntelliJ IDEA. However, refactoring techniques are language-independent and may be applied across different languages and IDEs.

0 comments on commit 9d087e5

Please sign in to comment.