Giter VIP home page Giter VIP logo

michaelrwolf / 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 459 KB

Kata to learn about Polymorphism

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

License: MIT License

Shell 1.33% JavaScript 5.13% Ruby 2.07% C++ 10.20% Scheme 3.27% Python 3.93% C 5.93% PHP 5.67% Objective-C 3.15% Java 3.65% Common Lisp 3.97% Scala 2.53% Clojure 2.83% Go 2.75% C# 4.72% Ada 6.50% Rust 5.08% Kotlin 3.18% TypeScript 7.23% XSLT 16.87%

parrot-refactoring-kata's Introduction

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

codecop avatar emilybache avatar jonreid avatar michaelrwolf avatar pen-y-fan avatar luisrovirosa avatar reasu avatar ivanrublev avatar hkirk avatar trikitrok avatar liamnorman avatar stephansvoboda avatar nicosimoski avatar dependabot[bot] avatar keriati 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.