Skip to content

Instantly share code, notes, and snippets.

@lcuevastodoit
Created October 31, 2022 20:28
Show Gist options
  • Save lcuevastodoit/862cfd87b59bd298542587ffb73a0a31 to your computer and use it in GitHub Desktop.
Save lcuevastodoit/862cfd87b59bd298542587ffb73a0a31 to your computer and use it in GitHub Desktop.
Refactoring Techniques

Composing Methods

  1. Extract Variable
  2. Split Temporary Variable
  3. Remove Assigments to Parameters
  4. Extract Method
  5. Replace Temp with Method Quey
  6. Replace Method with a Method Object (a Class)
  7. Substitute Algorithm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment