Formulations of the Law of Demeter in the Object Oriented Programming


The Transactions of the Korea Information Processing Society (1994 ~ 2000), Vol. 1, No. 1, pp. 63-72, May. 1994
10.3745/KIPSTE.1994.1.1.63,   PDF Download:

Abstract

In the last years, several articles have been devoted to the study of the Law of Demeter in the object oriented programming. The Law of Demeter is a style rule that aims at elimination unnecessary coupling among classes. Although a large number of studies have been made on the informal definitions, little is known about the formulation of the Law of Demeter. In this article, we define three relationships among classes i.e. inheritance, aggregation and association, and formulate the Law of Demeter. We also propose the algorithms to decide whether a given program satisfies the law and to transform an unfulfilled program into a fulfilled one.


Statistics
Show / Hide Statistics

Statistics (Cumulative Counts from September 1st, 2017)
Multiple requests among the same browser session are counted as one view.
If you mouse over a chart, the values of data points will be shown.


Cite this article
[IEEE Style]
H. S. Hyung, R. R. Geun, Y. H. Sool, "Formulations of the Law of Demeter in the Object Oriented Programming," The Transactions of the Korea Information Processing Society (1994 ~ 2000), vol. 1, no. 1, pp. 63-72, 1994. DOI: 10.3745/KIPSTE.1994.1.1.63.

[ACM Style]
Hwang Suk Hyung, Rhee Ryong Geun, and Yang Hae Sool. 1994. Formulations of the Law of Demeter in the Object Oriented Programming. The Transactions of the Korea Information Processing Society (1994 ~ 2000), 1, 1, (1994), 63-72. DOI: 10.3745/KIPSTE.1994.1.1.63.