The are no real laws in programming, and that’s sort of the only law. Law of Demeter(LoD) is more of a guideline than a principle to help reduce coupling between components.
OO Tricks is a mini series on writing maintainable Object Oriented code. Now let’s talk about functions!
With all the hype around designing and developing Android apps for the next billion, it’s easy to get overwhelmed by the why, what and how of it. I will try to explain things by keeping it simple.
This post, like Kent Beck says in his book Implementation Patterns**, is based on a rather fragile premise that good code matters”. But we all know that good code matters as we’ve had to deal for so long with its lack.