-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0cd4cca
commit 5fe2745
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
# task-list-refactoring | ||
[](https://github.com/SarthakMakhija/task-list-refactoring/actions/workflows/build.yml) | ||
|
||
Repository to refactor TaskList as a part of teaching refactoring | ||
### Idea | ||
|
||
The idea of this repository is to refactor the slightly modified [TaskList](https://kata-log.rocks/task-list-kata). The refactored code takes care of a lot of smells in the original code including: | ||
|
||
- [Broken Encapsulation](https://refactoring.guru/smells/inappropriate-intimacy) | ||
- [Data classes](https://refactoring.guru/smells/data-class) | ||
- [Divergent change](https://refactoring.guru/smells/divergent-change) | ||
- [Feature envy](https://refactoring.guru/smells/feature-envy) | ||
- [Long method](https://refactoring.guru/smells/long-method) | ||
- [Switch statements](https://refactoring.guru/smells/switch-statements) | ||
- [Primitive obsession](https://refactoring.guru/smells/primitive-obsession) | ||
|
||
The original code is available [here](https://github.com/SarthakMakhija/task-list-refactoring/tree/original). | ||
|