Skip to content

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

License

Notifications You must be signed in to change notification settings

MozaicWorks/Parrot-Refactoring-Kata

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • XSLT 14.6%
  • C++ 8.7%
  • Pascal 7.5%
  • TypeScript 6.2%
  • Ada 5.5%
  • C 5.1%
  • Other 52.4%