Glossary of terms used on this site
Glossaries
Term | Main definition |
---|---|
Remove Setting Method |
移除配置函数1
|
Rename Method |
函数改名1
|
Replace Array with Object |
以对象取代数组1
|
Replace Conditional with Polymorphism |
以多态取代条件表达式1
|
Replace Constructor with Factory Method |
以工厂函数取代构造函数1
|
Replace Data Value with Object |
以对象取代数据值1
|
Replace Delegation with Inheritance |
以继承取代委托1
|
Replace Error Code with Exception |
以异常取代错误码1
|
Replace Exception with Test |
以测试取代异常1
|
Replace Inheritance with Delegation |
以委托取代继承1
|
Replace Magic Number with Symbolic Constant |
以字面常量取代魔法数1
|
Replace Method with Method Object |
以函数对象取代函数1
|
Replace Nested Conditional with Guard Clauses |
以卫语句取代嵌套条件表达式1
|
Replace Parameter with Explicit Methods |
以明确函数取代参数1
|
Replace Parameter with Methods |
以函数取代参数1
|
Replace Record with Data Class |
以数据类取代记录1
|
Replace Subclass with Fields |
以字段取代子类1
|
Replace Temp with Query |
以查询取代临时变量1
|
Replace Type Code with Class |
以类取代类型码1
|
Replace Type Code with State/Strategy |
以 State/Strategy 取代类型码1
|