Why do we use bridge patterns?

Bridge is used when we need to decouple an abstraction from its implementation so that the two can vary independently . This type of design pattern comes under structural pattern as this pattern decouples implementation class and abstract class by providing a bridge structure between them.

Sizin İçin Seçtik  What is Observer pattern in C++?

Leave a Reply

Your email address will not be published. Required fields are marked *