Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The Facade and Adapter Patterns are both used to simplify and modify an existing system or interface, but they differ in their approaches and purposes.

The Facade Pattern provides a simplified interface to a complex system, while the Adapter Pattern helps two incompatible interfaces to work together. The Facade Pattern acts as a mediator between the client and the subsystems, while the Adapter Pattern bridges the gap between two interfaces.

The Facade Pattern aims to make the system easier to use, by hiding the complexity of the system and presenting a simpler interface. The Adapter Pattern aims to make two interfaces work together seamlessly by modifying the interface of one of them.

In summary, the Facade Pattern provides a simplified interface to a complex system while the Adapter Pattern bridges the gap between two incompatible interfaces.