Facade is similar to class inheritance, right?
天蓬老师2019-03-16 10:56:54
It looks very similar to class inheritance, but in fact there is a big difference.
Class inheritance shows the distinction between classes. The layer relationship is vertical.
Facade integrates functions between multiple classes and provides a unified calling interface to the outside world to encapsulate some common functions and hide implementation details
No matter which method is used, there are only two basic directories: code reuse and easy maintenance