So tomorrow I present a “almost Sales pitch” to the Team on Unit Testing. Something that I though I could pick up and gain knowledge quickly has revealed a giant source of information that spans into an inversed tree. Needless to say, it has been absolute fun and something which caught my attention was the Law of Demeter.
The Law of Demeter (LoD), or Principle of Least Knowledge, is a design guidelines, among the billions out there, which is more specific to OOP.
A quote that explains this well is “Only talk to your immediate friends”.
For further information and a great read:
Worth a read!
Powered by ScribeFire.