# Law of demeter > 디메터 법칙. 디메터 법칙. 1. Each unit should have only limited knowledge about other units: only units "closely" related to the current unit. 2. Each unit should only talk to its friends; don't talk to strangers. 3. Only talk to your immediate friends. ## Memo > The law dates back to <1987> when it was first proposed by , who was working on the Demeter Project. This project was the birthplace of a lot of [Aspect-oriented programming](https://wiki.g15e.com/pages/Aspect-oriented%20programming.txt) principles.[^1] ## Footnotes [^1]: https://en.wikipedia.org/wiki/Law_of_Demeter