作者
Paulo Borba, Augusto Sampaio, Márcio Cornélio
发表日期
2003
研讨会论文
ECOOP 2003–Object-Oriented Programming: 17th European Conference, Darmstadt, Germany, July 21-25, 2003. Proceedings 17
页码范围
457-482
出版商
Springer Berlin Heidelberg
简介
In this article we introduce a comprehensive set of algebraic laws for ROOL, a language similar to sequential Java but with a copy semantics. We present a few laws of commands, but focus on the object-oriented features of the language. We show that this set of laws is complete in the sense that it is sufficient to reduce an arbitrary ROOL program to a normal form expressed in a restricted subset of the ROOL operators. We also propose a law for data refinement that generalises the technique from traditional modules to class hierarchies. Together, these laws are expressive enough to derive more elaborate rules that can be useful, for example, to formalize object-oriented design practices; this is illustrated through the systematic derivation of a refactoring from the proposed laws.
引用总数
2003200420052006200720082009201020112012201320142015201620172018201920202021202220233101457176212121111
学术搜索中的文章
P Borba, A Sampaio, M Cornélio - ECOOP 2003–Object-Oriented Programming: 17th …, 2003