We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 738830d commit 5238bdbCopy full SHA for 5238bdb
Facade/README.md
@@ -4,6 +4,12 @@
4
為子系統中的一組介面提供一個一致的界面,此模式定義了一個高層介面,
5
這個介面使得這一子系統更加容易使用(投資:基金,股票,房產)
6
7
+##### 外觀 vs. [轉接器](https://github.com/kimi0230/DesignPatternGolang/tree/master/Adapter)
8
+
9
+外觀定義的是一個新的介面, 為現存系統停工一個更為方便的存取介面;
10
+轉接則是復用一個原有的介面, 轉接器是使兩個已有的介面協同工作
11
+外觀模式用來轉接整個子系統, 轉接用來轉接物件
12
13
##### 個人想法:
14
Mediator 中介者模式、外觀模式:每個對像都保存一份中介者對象,
15
在和其他對象交互時,通過中介者來完成,
0 commit comments