-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
35 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# 设计思想 | ||
|
||
- 第一性原理 | ||
|
||
- 拆解问题:将复杂的问题分解成更小、更基本的部分。 | ||
- 寻找基本事实:找到这些部分中最基本、最确定的事实和原理。 | ||
- 重建解决方案:基于这些基本事实和原理,重新构建解决方案,而不是依赖现有的假设和惯例。 | ||
|
||
- 大道至简 | ||
|
||
- 苹果和特斯拉的成功就是简化了复杂的事物, 将复杂度从用户的角度进行了转移 | ||
|
||
- 无处不代理 | ||
|
||
- 代理模式可以降低 耦合度 | ||
- 代理的泛化 | ||
- 代理的目的是为了解耦, 但是代理的实现可以是多种多样的 简而言之 不直接依赖 间接依赖就是代理 | ||
|
||
- 不要轻易深入到细节设计, 先完成最重要的设计 | ||
|
||
- 细节可以后续再设计与优化 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ | |
|
||
- [Like drawing a circle](./flow.circle.md) | ||
|
||
- [设计思想](./design-principles.md) | ||
|
||
## v0.1.0 | ||
|
||
> done | ||
|