Based on Parrot Refactoring Kata by Emily Bache.
See slides.
- Bash
- C
- Clojure
- cpp (gtest and catch2)
- Crystal
- CSharp
- Go
- Java
- JavaScript
- Kotlin
- LegacyJavaScript
- PHP
- Python
- Ruby
- Rust
- Scala
- Swift
- TypeScript (Mocha and Jest)
- Objective-C
- Pascal
- Scheme
- XSLT
Can you spot any code smells in this code? I'll give you a clue - a spot of Pol(l)ymorphism should improve matters!
Refactor this code, take small steps, run the tests often. See how small and beautiful you can make it.
Clone the repo, checkout the branch push-challenge
, and create your own branch from it.
git clone git@github.com:alpescraft/Parrot-Refactoring-Kata.git
Make sure you have read access to this repository.
git checkout push-challenge
git checkout -b your_branch
Then create your first commit, to test the workflow. And push it.
git commit -am "testing the flow"
git push -u origin your_branch
Check your score on the dashboard: https://zictmyhave.eu-west-1.awsapprunner.com
This code is heavily inspired by one of the examples in Martin Fowler's book "Refactoring". It's a classic, and if it's not on your bookshelf already I suggest you treat yourself to a copy!