Giter VIP home page Giter VIP logo

kata's Introduction

Java by Comparison Kata

The Java by Comparison Kata requires you to have a copy of Java by Comparison because you need to apply the refactorings from the book.

With this kata, you'll train yourself to spot problematic code and make it better.

Prerequisites

Java by Comparison, the Java 8 compiler, and a curious mind.

Story

Today is your first day at a new job.

Boss: Great to have you here.

You: Yes, I'm excited to dive into the world of software metrics.

Boss: Awesome. Let me show you the software we are currently making a ton of money with.

Boss points you to the code of this kata

Boss: It's calculating metrics for Java and even Python source code. We have literally thousands of customers that work with this release everyday. Thing is, our backlog is packed and we need you to pump out features quickly, otherwise, our customers will leave.

Boss: But, of course, you just started. So have a look at the code. You may clean it up so you can start those features.

Boss: Let's say, you have 2 hours? Should be fine, I think.

You: ...

So you start cleaning that legacy code up.

House Rules

  • You may only change the code according to a comparison from the book Java by Comparison.
  • The commit message must be the name of the comparison, e.g., "Avoid Negations".
  • You may apply a comparison multiple times. (Within the same or separate commits, both is fine)

Alternative Rules

  • Any other Kata or Code Retreat rules may apply.

Usage

# download kata
$ git clone [email protected]:javabycomparison/kata
$ cd kata

# execute tests
$ ./mvnw test

# run
$ ./mvnw exec:java
# run with parameters
$ ./mvnw exec:java -Dexec.args="src smry"

kata's People

Contributors

larseckart avatar simonharrer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.