Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Refactoring journey

CodeScene Code Health CodeScene System Mastery Quality Gate Status Code Smells Coverage Technical Debt

This journey is available in java and scala

How to start ?

Lazy you will be-> use your IDE

refactoring-journey

Don’t forget the Golden Rule

We will refactor code : Improve the Design of existing code.
The approach (Kent Beck wisdom) :

  1. First, make the change easy (refactor)
  2. Then, make the easy change

Before any changes :

  • Check the tests
  • Make sure they are all Green

I strongly advise to use the Split Feature of your IDE to organize your work
refactoring-journey

Prerequisites

Solutions

  • A refactored version of the code is available in the solution branch
  • A step by step solution guide for Scala is available here

Table of contents


Journey proposed by Yoan Thirion #sharingiscaring