411 REFERENCE · Wiktionary
Law of Demeter
Reference material by Wiktionary contributors. This retains its source identity and is not 411 news reporting.
English
Etymology
Named for its origin in the Demeter Project, an adaptive programming and aspect-oriented programming effort, itself named after the Greek goddess Demeter.
Proper noun
Law of Demeter
en software object-oriented A design guideline for developing particularly object-oriented programs that mandates loose coupling between objects.
en LoD principle of least knowledge
en 1996 Karl J. Lieberherr Adaptive Object-oriented Software: The Demeter Method with Propagation Patterns Pws Publishing Company 9780534946029 An adaptive program contains only hooks into the class structure and normally does not fully encode the details of the class structure. This idea of not duplicating the class structure is an application of the key idea behind the Law of Demeter.
en 1998 Scott W. Ambler Building Object Applications that Work: Your Step-by-Step Handbook for Developing Robust Systems with Object Technology Cambridge University Press 9780521648264 249 According to the Law of Demeter, the second approach is better because the summary screen sends a message only to an object that is returned by one of its methods
Translations
software design guideline
German: de Gesetz von Demeter n
Hindi: hi डिमीटर की विधि f
Turkish: tr Demeter Yasası
Further reading
en eponyms