December 2018
Intermediate to advanced
512 pages
8h 51m
English
This chapter covers the bridge pattern.
Decouple an abstraction from its implementation so that the two can vary independently.
This pattern is also known as the handle/body pattern , in which you separate an implementation from its abstraction and build separate inheritance structures for them. Finally, you connect them through a bridge.
You must note that the abstraction and the implementation can be represented either through an interface or an abstract class, but the abstraction contains a reference to its implementer. Normally, a child of an abstraction is ...