Spring 5 Design Patterns
上QQ阅读APP看书,第一时间看更新

Benefits of the Bridge pattern

Following are the benefits of the Bridge design pattern:

  • The Bridge design pattern allows you to separate the implementation and the abstraction
  • This design pattern provides the flexibility to change both types of classes without side effects in the client code
  • This design pattern allows the hiding of actual implementation details from the client by using abstraction between them