More on this book
Community
Kindle Notes & Highlights
Some classes are more likely than others to have changes in requirements. Concrete classes are more likely to change than abstract classes. Changing a class that has many dependents will result in widespread consequences.
Design experts notice domain objects without concentrating on them; they focus not on these objects but on the messages that pass between them.
Demeter is often paraphrased as “only talk to your immediate neighbors” or “use only one dot.”
Instead of evaluating this phrase by counting the “dots,” evaluate it by checking the types of the intermediate objects.
If you remove the dots from this line of code, your costs may well go up instead of down.

