裡面有『重構-改善既有程式設計』書裡所有的重構文件
這邊把後來作者新增的重構方法簡單整理一下
- Convert Dynamic to Static Construction
- Convert Static to Dynamic Construction
- Extract Package
- Move Class
- Reduce Scope of Variable
- Remove Double Negative
- Replace Assignment with Initialization
- Replace Conditional with Visitor
- Replace Iteration with Recursion
- Replace Recursion with Iteration
- Replace Static Variable with Parameter
- Reverse Conditional
- Split Loop
沒有留言:
張貼留言