A series of refactoring exercises intended to be used as practice material for building fluency.
- Fork the repository, and clone the forked version locally.
- Create a solution branch.
- For your desired language check-out its setup instructions.
- It is recommended to check-in after each refactoring (every time a sequence of actions leaves you in a buildable state that is behaviorally equivalent) so that you can revisit and share your steps.
- After each exercise compare your refactoring sequence to the solution file and see how you did.
- (Optional) Share your check-in sequence with the world (Also feel free to create an issue on this repository to leave some feedback).
Martin Fowler's Refactoring book
Please send PRs and open issues if you see a bug!
All exercises instruction and solution content is licensed under CCO-1.0 but the code used in those examples is licensed under MIT. It is your responsibility to ensure you have the right to license your contribution under this license before sending a PR.