File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,18 @@ class Program
6
6
{
7
7
static void Main ( string [ ] args )
8
8
{
9
- //More info: https://en.wikipedia.org/wiki/Facade_pattern
9
+ /*
10
+ * More info: https://en.wikipedia.org/wiki/Facade_pattern
11
+ What problems can the Facade design pattern solve?
12
+
13
+ To make a complex subsystem easier to use,
14
+ a simple interface should be provided for a set of interfaces in the subsystem.
15
+ The dependencies on a subsystem should be minimized.
16
+
17
+ Clients that access a complex subsystem directly refer to (depend on) many different objects
18
+ having different interfaces (tight coupling),
19
+ which makes the clients hard to implement, change, test, and reuse.
20
+ */
10
21
11
22
var facade = new CarFacade . CarFacade ( ) ;
12
23
You can’t perform that action at this time.
0 commit comments