Learn ralph small Learn

Refactoring

Restructuring an existing body of code, altering its internal structure without changing its external behavior.

Contribute to this list

Create an account or sign in to save your progess

Beginning Refactoring

Use these additional resources for reference and additional practice

Beginning Refactoring developers should be able to

  • Introduce an explaining variable.
  • Rename a method.
  • Extract a method.
  • Move a method.

Intermediate Refactoring

Use these additional resources for reference and additional practice

Intermediate Refactoring developers should be able to

  • Replace a method with an object.
  • Extract a class.
  • Introduce a null object.
  • Replace a conditional with polymorphism.
  • Replace inheritance with delegation.

Ongoing Reference