You’ll often get to hear from good programmers about having “loosely coupled” classes.What do they mean by saying that?Let’s understand this first before jumping onto the Law of Demeter.
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.”
- Martin Fowler