Printout exercises to learn refactoring
Language | Status |
---|---|
C# | |
Java | |
Javascript | |
Php | |
Python | |
C++ |
Steps
- Draw a box around the duplication Note: the box can not cross a programming block { }. it must include all of the block, or be inside it.
- Fill in the white space
- Fill in the differences
Checkout the sparrow decks on duplication first