Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 1.48 KB

README.md

File metadata and controls

66 lines (43 loc) · 1.48 KB

Parrot Push Challenge

Based on Parrot Refactoring Kata by Emily Bache.

Mode and Constraint

See slides.

Supported Languages

  • Bash
  • C
  • Clojure
  • cpp (gtest and catch2)
  • Crystal
  • CSharp
  • Go
  • Java
  • JavaScript
  • Kotlin
  • LegacyJavaScript
  • PHP
  • Python
  • Ruby
  • Rust
  • Scala
  • Swift
  • TypeScript (Mocha and Jest)

NOT Supported

  • Objective-C
  • Pascal
  • Scheme
  • XSLT

Parrot Refactoring Kata

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.

How to start the challenge

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

Acknowledgements

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!