Skip to content

Commit 57991cd

Browse files
authored
Update task.md
language checked
1 parent 44f28c5 commit 57991cd

File tree

1 file changed

+4
-4
lines changed
  • RefactoringToDesignPatterns/DesignPatternsAndTheirRelationshipsWithRefactoring/Theory

1 file changed

+4
-4
lines changed

RefactoringToDesignPatterns/DesignPatternsAndTheirRelationshipsWithRefactoring/Theory/task.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ implementation of their applications.
55
They offer a structured approach to solving specific issues and guide developers in creating maintainable,
66
extensible, and robust software architectures.
77

8-
Here is a list of advantages of design patterns:
9-
- **Modularity**: Design patterns promote modular and organized code structure, making it easier to maintain complex systems.
8+
Here is a list of the benefits of design patterns:
9+
- **Modularity**: Design patterns promote a modular and organized code structure, making it easier to maintain complex systems.
1010
- **Readability**: Design patterns enhance code readability by providing a consistent structure that other developers can easily understand.
1111
- **Code Reusability**: Patterns can be reused across different places in the codebase, saving time and effort in solving similar design challenges.
1212

@@ -18,9 +18,9 @@ Design patterns are categorized into three main types: creational, structural, a
1818
**See Also**: [Examples of design patterns in Java](https://refactoring.guru/design-patterns/java)
1919

2020
_Refactoring_ can be used to implement design patterns.
21-
While refactoring existing code to introduce a design pattern, developers often reorganize and modify the codebase
21+
When refactoring existing code to introduce a design pattern, developers often reorganize and modify the codebase
2222
to align it with the pattern's principles.
23-
As the project evolves, patterns may be identified, applied, and refined through refactoring to achieve design goals.
23+
As a project evolves, patterns may be identified, applied, and refined through refactoring to achieve design goals.
2424

2525
**In summary**, design patterns and refactoring work together to enhance software design, quality, and maintainability.
2626
While design patterns offer structured solutions to common problems, refactoring serves as a means to continuously

0 commit comments

Comments
 (0)