Skip to content

Commit 73e3a7c

Browse files
committed
Update public notes
1 parent 894fd4a commit 73e3a7c

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

content/编程相关/OOP/OOP 世界观.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ OOP 作为一个很有年代感的编程范式,源自于早年间大型软件
2525

2626
此外,另一条很有用的则是依赖倒置。一个 OOP 新手很常犯的错就是让不同层次的类直接互相调用,导致一个类的改动牵动了另一个几乎无关的类,正确的做法应该是让两者依赖于接口,使用接口隔离依赖链条。
2727

28-
[[OOP 设计原则]]
28+
[[SOLID 设计原则]]
2929

3030
## 设计模式
3131
*遵循设计原则,对实践问题的优质解答。*

content/编程相关/OOP/对象池 Object Pool.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
created: 2025-03-13
33
updated: 2025-03-13
4+
tags:
5+
- OOP
46
---
57
## 问题 / 用途
68
在某些时候会遇到需要频繁创建和释放对象的场景(例如游戏中),对象的频繁创建和释放会导致内存碎片的产生和内存空间的频繁分配,从而降低性能。

content/编程相关/OOP/软件架构入门.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
created: "2025-12-08"
3-
updated: "2025-12-08"
2+
created: 2025-12-08
3+
updated: 2025-12-08
4+
tags:
5+
- OOP
46
---
57
[软件架构入门 - 阮一峰的网络日志](https://ruanyifeng.com/blog/2016/09/software-architecture.html)
68

0 commit comments

Comments
 (0)