【24h】

A Refinement Algebra for Object-Oriented Programming

机译:面向对象编程的细化代数

获取原文
获取原文并翻译 | 示例

摘要

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.
机译:在本文中,我们介绍了一套全面的ROOL代数定律,ROOL是一种类似于顺序Java的语言,但具有复制语义。我们介绍一些命令定律,但重点是该语言的面向对象功能。我们表明,从足以将任意ROOL程序简化为以ROOL运算符的受限子集表示的标准形式的意义上,这套法律是完整的。我们还提出了数据优化法律,将技术从传统模块推广到类层次结构。这些法律在一起具有足够的表现力,可以得出更详尽的规则,这些规则可能有用,例如,可以将面向对象的设计实践形式化;通过对拟议法律进行系统重构得出了这一点。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号