Riggs333 / Parrot-Refactoring-Kata

Kata to learn about Polymorphism

Home Page:https://youtu.be/UxNEHKg_2eA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support this and all my katas via Patreon

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 explaining this kata, and another video with a worked solution in C#.

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 learn about Polymorphism

https://youtu.be/UxNEHKg_2eA

License:MIT License


Languages

Language:XSLT 14.3%Language:C++ 8.6%Language:Pascal 7.4%Language:TypeScript 6.1%Language:Ada 5.5%Language:C 5.0%Language:PHP 4.8%Language:JavaScript 4.3%Language:Rust 4.3%Language:C# 4.0%Language:CMake 3.6%Language:Common Lisp 3.4%Language:Go 3.3%Language:Java 3.1%Language:Scheme 2.8%Language:Kotlin 2.7%Language:Objective-C 2.7%Language:Python 2.4%Language:Clojure 2.4%Language:Swift 2.4%Language:Scala 2.1%Language:Ruby 1.8%Language:Crystal 1.6%Language:Shell 1.1%Language:Batchfile 0.2%