September 2016
Intermediate to advanced
775 pages
18h 22m
English
Q1. What is the Law of Demeter and how is it related to the Factory pattern?
A: The Law of Demeter is a design guideline that talks about the following:
The principle of least knowledge and Law of Demeter are the same and both point to the philosophy of loose coupling. The principle of least knowledge fits the use case of the Façade pattern as the name is intuitive and the word principle acts as a guideline, not being strict, and being useful only when needed.
Q2. Can there be multiple Façades for a subsystem?
A: Yes, one could implement ...
Read now
Unlock full access