What is the difference between the Facade and Adapter Pattern?

后端 未结 16 1087
孤城傲影
孤城傲影 2021-01-29 23:50

I\'ve been reading both definitions and they seem quite the same. Could anyone point out what are their differences?

Thanks

16条回答
  •  我在风中等你
    2021-01-30 00:27

    Adapter pattern links two incompatible interfaces by providing a new interface.

    Facade pattern simplifies a complex subsystem(having multiple components) with a single interface.

提交回复
热议问题