arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1201.5230cs.SE
收藏

模块化持续维护的可逆程序重构

Invertible Program Restructurings for Continuing Modular Maintenance

Julien Cohen, Rémi Douence, Akram Ajouli

摘要:

当一个人为软件选择一个结构分解的主轴时,例如面向功能或面向数据的分解,其他轴就变成了次要的,当这些次要轴中的一个变得主要重要时,这可能是有害的。这就是所谓的支配分解的暴政。在模块化扩展的背景下,这个问题被称为表达式问题,并找到了许多解决方案,但很少有解决方案已被提出在更大的背景下,模块化维护。我们解决了暴政的主要分解与可逆的程序转换维护。我们用一个典型的表达式问题例子来说明这一点。我们还报告了我们的实验与Java和Haskell程序,并讨论了开放的问题,我们的方法。

英文摘要:

When one chooses a main axis of structural decompostion for a software, such as function- or data-oriented decompositions, the other axes become secondary, which can be harmful when one of these secondary axes becomes of main importance. This is called the tyranny of the dominant decomposition. In the context of modular extension, this problem is known as the Expression Problem and has found many solutions, but few solutions have been proposed in a larger context of modular maintenance. We solve the tyranny of the dominant decomposition in maintenance with invertible program transformations. We illustrate this on the typical Expression Problem example. We also report our experiments with Java and Haskell programs and discuss the open problems with our approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑