No description, website, or topics provided.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Refactoring 101

Refactoring 101

These code sample / exercises enable you to address the following code smells.

  • Long Method
  • Duplicate Code
  • Feature Envy

When these three refactorings are done in small iterative steps in this order, they enable you to rapidly clean up a "smelly classes". Rinse and repeat and you will get to a clean code base, where classes reveal their true intent.

Points sample:

  • Commit History in git shows how to get from crufty code to "less crufty" code.

User sample:

  • An exercise to practise these three refactoring steps