Giter Site home page Giter Site logo

mohamed-taman / agile-software-dev-refactoring Goto Github PK

View Code? Open in Web Editor NEW
20.0 4.0 8.0 50 KB

Refactoring for high-performance Agile Software Development, refactoring for better code. Refactoring is about improving the quality of your code by simplifying your code. Simpler code enables agility, the ability to change your code quickly, to add new features, to meet people's ever-changing needs.

License: MIT License

Java 100.00%
tdd-kata tdd refactoring agile-development team javamagazine

agile-software-dev-refactoring's Introduction

Agile Software Development: Refactoring

Refactoring for high-performance Agile Software Development. Refactoring for better code. Refactoring is about improving the quality of your code by simplifying your code. Simpler code enables agility, the ability to change your code quickly, to add new features, to meet people's ever changing needs.

I am using a test-driven development practice of writing tests first here. For a full understanding of what is it all about? And why is it important? Please read this article Test-Driven Development: Really, It's a Design Technique.

This repository hosts all 3 Java Magazine articles series source-code.

Here are what you are going to learn from these articles:

  1. Refactoring with New Code
    1. Defining refactoring
    2. Setting up a TDD environment
    3. Renaming variables
    4. Using the inline and extract method
  2. Stabilizing Legacy Code
    1. Pinning down legacy code
    2. Testing code and branch coverage
  3. Refactoring legacy code
    1. Simplifying math and Booleans
    2. Adding new behaviors to refactored code

The Legacy code Kata

The legacy code kata I used it here in these articles series is inspired from Gilded Rose Kata, written by Emily Bache.

Link To Articles

  1. Refactoring Java, Part 1: Driving agile development with test-driven development.
  2. Refactoring Java, Part 2: Stabilizing your legacy code and technical debt.
  3. Refactoring Java, Part 3: Regaining business agility by simplifying legacy code.

How it works? ๐Ÿค”

Each article is divided into steps, and in each step, I have managed to have a git commit for each TDD red-green-blue change. So, when you navigate the commits, you can notice the differences, and the refactorings that has been done toward final Kata requirements.

agile-software-dev-refactoring's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

agile-software-dev-refactoring's Issues

Missing support for java modules.

The only thing I miss in this tutorial is support for java module, as you are not using JDK 8.

I uses Eclipse (and Emacs), so I don't know best way to support modules in other IDE:s. In Eclipse you create a project for each module, giving the project same name as the module. After that it's easy to import/export from/to that module from other modules.

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.