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 on 2011-10-08 00:15  Tim Yi  阅读(245)  评论(0编辑  收藏  举报