Laws of Object-Orientation with Reference Semantics

Leila Silva, Augusto C. A. Sampaio, Zhiming Liu · 2008

Algebraic laws have been proposed to support program transformation in several paradigms. In general, and for object-orientation in particular, these laws tend to ignore possible aliasing resulting from reference semantics. This paper proposes a set of algebraic laws for object-oriented languages in the context of a reference semantics. Soundness of the laws is addressed, and a case study is also developed to show the application of the proposed laws for code refactoring.

Read the paper · More papers on PaperTik