提炼函数(extract method)
内联函数(inline method)
内联临时变量(inline temp)
以查询取代临时变量(replace temp with query)
引入解释性变量(introduce explaining variable)
分解临时变量(split temporary variable)
移除对参数的赋值(remove assignments to parameters)
以函数对象取代函数(replace method with method object)
替换算法(substitute algorithm)
时间: 2024-10-11 06:09:10