diff --git a/InliningCode/WhatIsInlineVariableRefactoring/Theory/task.md b/InliningCode/WhatIsInlineVariableRefactoring/Theory/task.md index f24570d..ea1964e 100644 --- a/InliningCode/WhatIsInlineVariableRefactoring/Theory/task.md +++ b/InliningCode/WhatIsInlineVariableRefactoring/Theory/task.md @@ -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.