May 2019
Intermediate to advanced
356 pages
5h 18m
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 maintainability of your code.
Inheritance: an object automagically acquires all members of the base class or classes. To allow instantiation, the object must implement every abstract member from its parent; if it does not, it is abstract and cannot be created (but you can inherit from it).
Composition: This generally implies that the child cannot exist without the parent. This is typically implemented with nested classes. For example, ...