图床修改

This commit is contained in:
youthlql
2022-07-24 20:30:09 +08:00
parent 130c2ff4bf
commit 2fd68af81d
53 changed files with 817 additions and 817 deletions

View File

@@ -8,7 +8,7 @@ categories:
- 02.经典设计原则
keywords: 设计模式,经典设计原则
description: 设计模式-经典设计原则例如迪米特法则依赖反转原则KISS等等。
cover: 'https://upyunimg.imlql.cn/lql_static@latest/logo/design_patterns.jpg'
cover: 'https://npm.elemecdn.com/lql_static@latest/logo/design_patterns.jpg'
abbrlink: 994a8ed3
date: 2021-06-20 19:21:58
---
@@ -724,7 +724,7 @@ public class UserRepo {
前面也提到,“高内聚”有助于“松耦合”,同理,“低内聚”也会导致“紧耦合”。关于这一点,我画了一张对比图来解释。图中左边部分的代码结构是“高内聚、松耦合”;右边部分正好相反,是“低内聚、紧耦合”。
<img src="https://upyunimg.imlql.cn/youthlql@1.0.0/design_patterns/design_principles/0001.png" />
<img src="https://npm.elemecdn.com/youthlql@1.0.0/design_patterns/design_principles/0001.png" />