https://github.com/codecop/find-fw12-refactoring-kata
Refactoring Exercise Focusing on Names.
https://github.com/codecop/find-fw12-refactoring-kata
exercise naming obfuscated refactoring refactoring-kata
Last synced: 5 days ago
JSON representation
Refactoring Exercise Focusing on Names.
- Host: GitHub
- URL: https://github.com/codecop/find-fw12-refactoring-kata
- Owner: codecop
- License: bsd-3-clause
- Created: 2025-04-01T14:06:05.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-04-01T15:00:52.000Z (3 months ago)
- Last Synced: 2025-04-01T16:29:56.338Z (3 months ago)
- Topics: exercise, naming, obfuscated, refactoring, refactoring-kata
- Language: Java
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# (Incomprehensible) Find FW12 Refactoring Kata
Refactoring exercise focusing on naming
inspired by K. Scott Allen's [Incomprehensible Finder](https://github.com/codecop/Finder-Refactoring-Kata).
## Introduction
Here is the bad news: the new developer you hired has written some terrible, atrocious code.
No one can understand what it does.The good news: at least there are unit tests to prove the code is working.
You job is to refactor the code and make it readable, while keeping the code in working order (pass all tests).
## How to Start
1. Run the tests to make sure everything works.
2. Start refactoring!
## Tips
Start with simple rename refactors so you can better understand the abstractions you are working with. Rename any class or any variable.
Anything is fair game, create new classes, new methods, and rename tests.
The only restriction is that the existing tests have to keep working.Lean on the tests and run them after every small change to make sure you are on the right path.
## How to End
You can stop when you feel the code is good enough, something you can come back to in 6 months and understand.