摘要: 1. Extract Method 2. Inline Method 3. Inline Temp 4. Replace Temp with Query 5. Introduce Explaining Variable 6. Split Temporary Variable 7. Remove Assignments to Parameters 8. Replace Method with Method Object 9. Substitute Algorithm 阅读全文
posted @ 2009-01-16 15:03 黄浩贤 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 这段时间,在学习《重构——改善既有代码的设计》一书。痛苦的是,此书是借学校的,所以记录下来,以便日后回顾。 阅读全文
posted @ 2009-01-16 00:40 黄浩贤 阅读(268) 评论(0) 推荐(0) 编辑