Skip to content

alpescraft/Parrot-Refactoring-Kata

 
 

Repository files navigation

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!

About

Kata to practice Polymorphism and Baby Steps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • XSLT 18.9%
  • Pascal 9.7%
  • C++ 6.6%
  • JavaScript 5.7%
  • TypeScript 5.5%
  • PHP 5.1%
  • Other 48.5%