November 2019
Beginner
804 pages
20h 1m
English
One last point that we should touch on before we continue is the idea of composition over inheritance. It is generally useful and also very relevant for the domain model of the applications that we will implement in the next chapters.
While designing the domain model of applications, you will often have the choice between relying on is-a relationships (that is, inheritance) or has-a relationships through composition and interfaces.
Inheritance is ...
Read now
Unlock full access