November 2021
Beginner to intermediate
391 pages
5h 23m
English
As the name suggests, Structural patterns are all about setting up the structure of your application so as to improve SOLID conformance as well as general usability and refactorability of your code.
Inheritance: An object automagically acquires the non-private fields and functions of its base class or classes. To allow instantiation, the object must implement every pure virtual member from its parents; if it does not, it is abstract and cannot be created (but you can inherit from it).
Composition: Generally implies that the child cannot exist without the parent. Think of an object having members of owner<T> type: when the ...
Read now
Unlock full access