Code Monkey home page Code Monkey logo

bedknobs / parrot-refactoring-kata Goto Github PK

View Code? Open in Web Editor NEW

This project forked from emilybache/parrot-refactoring-kata

0.0 0.0 0.0 443 KB

Kata to learn about Polymorphism

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

License: MIT License

Shell 1.30% JavaScript 5.01% Ruby 2.02% C++ 9.95% Scheme 3.19% Python 2.80% C 5.79% PHP 5.54% Objective-C 3.07% Java 7.03% Common Lisp 3.88% Scala 2.46% Clojure 2.76% Go 2.68% C# 4.61% Ada 6.34% Rust 4.96% Kotlin 3.10% TypeScript 7.05% XSLT 16.46%

parrot-refactoring-kata's Introduction

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!

parrot-refactoring-kata's People

Contributors

emilybache avatar codecop avatar jonreid avatar pen-y-fan avatar luisrovirosa avatar reasu avatar ivanrublev avatar hkirk avatar trikitrok avatar bedknobs avatar liamnorman avatar stephansvoboda avatar dependabot[bot] avatar nicosimoski avatar keriati avatar rgiciar avatar jeremyhuiskamp avatar kiwibomber avatar eeppuj avatar kudashevs avatar wonderbird avatar sslopek avatar zeusperez avatar adampridmore avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.