christianbaumann / Parrot-Refactoring-Kata

Kata to help practice Pollymorphism (with apologies to Martin Fowler's "Refactoring")

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 and polymorphic you can make it.

I made a video about this kata: From Hello Polly! to Polymorphism: Parrot Refactoring Code Kata is FUN.

Acknowlegements

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 help practice Pollymorphism (with apologies to Martin Fowler's "Refactoring")

License:MIT License


Languages

Language:XSLT 15.1%Language:C++ 9.2%Language:Pascal 7.8%Language:Ada 5.8%Language:C 5.3%Language:JavaScript 4.6%Language:TypeScript 4.5%Language:PHP 4.3%Language:C# 4.2%Language:CMake 3.8%Language:Common Lisp 3.6%Language:Java 3.3%Language:Rust 3.1%Language:Scheme 2.9%Language:Objective-C 2.8%Language:Python 2.8%Language:Clojure 2.5%Language:Swift 2.5%Language:Go 2.5%Language:Scala 2.3%Language:Kotlin 2.0%Language:Ruby 1.9%Language:Crystal 1.7%Language:Shell 1.2%Language:Batchfile 0.2%