1.Decompose Conditional(分解条件式)

2.Consolidate Conditional Expression(合并条件式)

3.Consolidate Duplicate Conditional Fragments(合并重复的条件片段)

4.Remove Control Flag(移除控制标记)

5.Replace Nested Conditional with Guard Clauses(以卫语句取代嵌套条件式)

6.Replace Conditional with Polymorphism(以多态取代条件式)

7.Introduce Null Object(引入Null 对象)

8.Introduce Assertion(引入断言)

 

posted on 2011-10-13 23:34  Tim Yi  阅读(266)  评论(0编辑  收藏  举报