A collection of codes with tests where you can practice improving them and submit better versions
Welcome to RefactoringLab, a repository dedicated to improving coding skills through refactoring challenges. Here, you'll find a collection of poorly written code snippets accompanied by tests. Your task is to refactor the code to make it more efficient, readable, and maintainable while ensuring that the tests still pass.
- Fork this repository and clone it.
- Choose a code snippet you'd like to work on for your fav. language.
- Refactor the code while making sure the tests in the "tests" directory still pass.
- If the tests pass and you're satisfied with your changes, submit a pull request.
Happy refactoring!
Feel free to submit pull requests, create issues, or spread the word.
This project is licensed under the MIT License - see the LICENSE.md file for details.