Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pixeloution/74aed8a86b3b438c6926 to your computer and use it in GitHub Desktop.
Save pixeloution/74aed8a86b3b438c6926 to your computer and use it in GitHub Desktop.
1. Why do we refactor?
- We refactor to both clean up our code and make it more readable, as well as making it more modular.
2. What's the difference between "refactoring" and "changing shit"?
- Refactoring has a specific goal.
3. What role do patterns play in refactoring?
- There are certain observable patterns that can clue us in to places that may need refactoring.
4. Why do some refactoring patterns seem to be opposites?
- Because there are different patterns and refactoring methods for different situations.
5. Does refactoring always make code better?
- As long as it is done in a predictable and consistent manner.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment