摘要:
SOLID https://team-coder.com/solid-principles/ OOP五原则,帮助开发者设计 可维护 和 可扩展的类。 SOLID is an acronym for five principles that help software developers desig 阅读全文
posted @ 2022-02-20 23:58
lightsong
阅读(112)
评论(0)
推荐(0)
摘要:
Separation of Concerns -- Root Principle https://effectivesoftwaredesign.com/2012/02/05/separation-of-concerns/ 道生一,一生二 混沌世界初开时候,为一团气体, 盘古开天辟地之后, 轻气上扬 阅读全文
posted @ 2022-02-20 23:40
lightsong
阅读(85)
评论(0)
推荐(0)
摘要:
Overview https://refactoring.guru/refactoring 把 dirty code 转变成 clean code 过程叫重构。 What is refactoring? Clean code clean code有如下特征: 可读性好 无重复逻辑 低代码 -- 包含 阅读全文
posted @ 2022-02-20 12:26
lightsong
阅读(203)
评论(0)
推荐(0)
摘要:
What's a design pattern? https://refactoring.guru/design-patterns/what-is-pattern 设计模式应对软件设计过程中经常出现的问题。 Design patterns are typical solutions to commo 阅读全文
posted @ 2022-02-20 11:16
lightsong
阅读(172)
评论(0)
推荐(0)

浙公网安备 33010602011771号