• 0

[Java] Bridge vs Adapater Design Patterns


Question

Do you think that the Adapter and Bridge design patterns are compatible (ie you can use both of them to solve a problem) or alternative (you can eventually use one or another but not both)? Why?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I'm not familiar with the Bridge pattern.... but yes, quite often you mix a number of diffeent patterns together! It all depends on what you are designing / requirements.

Link to comment
Share on other sites

  • 0
I'm not familiar with the Bridge pattern.... but yes, quite often you mix a number of diffeent patterns together! It all depends on what you are designing / requirements.

Thanks for your reply. I've seen different patterns working together in order to achieve an elegant solution however I'm not sure if this applies to this two specific patterns as their goals are more or less the same (altough the way they achieve them is quite different).

If you (or someone else) could justify why (or why not) they can be used together it would be very helpful.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.