V
主页
【重构】多态高级玩法?特例模式?Introduce Null Object 引入Null对象
发布人
【重构】多态高级玩法?特例模式?Introduce Null Object 引入Null对象
打开封面
下载高清视频
观看高清视频
视频下载器
【重构】改不了源码?Introduce Local Extension引入本地扩展
【重构】你写的代码是给人看的还是给计算机看的?Rename Method函数改名
层层对象转换☹️你找到好方法了吗?🤔2分钟上手MapStruct
【重构】啥是卫语句?Replace Nested Conditional With Guard Clauses 以卫语句取代嵌套条件表达式
【重构】不是每个实例都有的特性?Extract Subclass 提炼子类
【重构】想要属于自己的唯一标签?Change Value To Reference将值对象改为引用对象
【重构】不是一类?不要硬编号。Replace Array With Object 以对象取代数组
【重构】萎缩了?Inline Class内联类
【重构】自己要不如自己调?Replace Parameter With Methods 以函数取代参数
【重构】不是每个儿子都有的特性?Push Down Field 字段下移
【DDD领域驱动设计】什么是CQRS?
【重构】互用对方特性?Change Unidirectional Association To Bidirectional 将单向关联改为双向关联
【重构】想让儿子们都会只需让老爸会?Pull Up Method 函数上移
【重构】工厂函数比构造器加参数香不?Replace Constructor With Factory Method 以工厂函数取代构造函数
【重构】不是每个儿子都会的本事?Push Down Method 函数下移
【重构】想让儿子们天生有不如让老爸有?Pull Up Constructor Body 构造函数本体上移
【重构】物以类聚?Consolidate Conditional Expression 合并条件表达式
【重构】啥叫值对象immutable不可变?Change Reference To Value将引用对象改为值对象
【重构坏味道】对象不香?Primitive Obsession 基本类型偏执
【重构】不要画蛇添足多set一举?Remove Setting Method 移除设值函数
【DDD领域驱动设计】子领域划分的方式你了解几种?
【重构】暴露了太多?Hide Delegate隐藏委托关系
【重构】break、return的用武之地?Remove Control Flag 移除控制标记
【重构】让不变脱离万变?Consolidate Duplicate Conditional Fragments 合并重复的条件片段
【重构】没版权?Introduce Foreign Method引入外加函数
【重构坏味道】用switch不好本质是为什么?Switch Statements switch惊悚现身
【重构】有了更好的选择?时时断舍离?Hide Method 隐藏函数
【重构】不再需要对方特性?Change Bidirectional Association To Unidirectional 将双向关联改为单向关联
【DaynaBaby书架】我们今天写的是明天的遗留代码?《重构》
【重构坏味道】消灭掉平行世界的你?Parallel Inheritance Hierarchies 平行继承体系
【DDD领域驱动设计】Delivery层为啥不能直接用Applicaiton层的Model对象?
【DaynaBaby书架】从impossible到i'm possible少了一点和一段?一点信念和一段《微习惯》
【重构坏味道】5个百行变5个十行+10个双行?Large Class 过大的类
【重构坏味道】过于亲密探究彼此隐私?Inappropriate Intimacy 狎昵关系
【重构坏味道】难解难用难改?Long Parameter List 过长参数列
【重构】你写的代码让客户省心吗?Encapsulate Downcast 封装向下转型
【重构】数据和行为不分家?Encapsulate Field封装字段
【重构】儿子们动作顺序相同细节不同?Form Template Method 塑造模板函数
【DDD领域驱动设计】5分钟入门DDD分层架构
【重构】常用手法之一Replace Temp With Query以查询取代临时变量