Code Smell 08 - Long Chains Of Collaborations
Making long chains generate coupling and ripple effect.
Any chain change breaks the code.
TL;DR: Just sent messages to your acquaintances.
Problems
Coupling
Break encapsulation
Solutions
Create intermediate methods.
Think about Law of Demeter...
maximilianocontieri.com2 min read