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 a64bba3 commit 9f2b45a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Task 1/2: What is Inline Variable refactoring?

We apply the **Inline refactoring** to simplify code by removing an unnecessary method or variable declarations and directly
We apply the **Inline refactoring** to simplify code by removing unnecessary method or variable declarations and directly
replacing them with their respective expressions or values.

Apply Inline Variable when a **variable is only used once** or when its name does not add any meaningful information.
Expand Down

0 comments on commit 9f2b45a

Please sign in to comment.