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

可执行抽象程序在软件开发和文档编制中的作用

The Role of Executable Abstract Programs in Software Development and Documentation

Egon Boerger

摘要:

我们提出了可执行抽象程序,并分析其作用的软件开发和文档。对这些程序的直观理解符合软件系统工程师的计算思维,并得到简单但精确的行为定义的支持。因此,它们可以顺利地集成到从业者的日常工作中,以严格制定从可执行抽象程序到目标和有效运行代码的路径上所采取的每一个设计和实现决策。所得到的系统文档的可执行抽象程序表示可以通过测试(由于其可执行特性)或推理(由于其行为的数学定义)检查和证明的实现步骤的定义。对于复杂的系统,实施涉及多个(正交或连续)的实施步骤,代表一个实际的计算细化概念的实例。这种系统开发过程是由计算改进驱动的,并严格限于明确制定和证明-除了要求-只有必要的实施步骤。其结果是,它产生的副作用是文档的语料库,促进了最终代码的可理解性,提高了其可靠性和弹性;它还增强了维护过程(包括重用和抽象程序和代码的更改),降低了维护成本。

英文摘要:

We present Executable Abstract Programs and analyse their role for software development and documentation. The intuitive understanding of these programs fits the computational mindset of software system engineers and is supported by a simple but precise behavioural definition. Therefore, they can be smoothly integrated in the practitioner's daily work to rigorously formulate every design and implementation decision taken on the path from the Executable Abstract Program for the requirements to the targeted and efficiently runnable code. The Executable Abstract Programs of the resulting system documentation represent definitions of implementation steps one can check and justify by testing (due to their executable character) or by reasoning (due to the mathematical definition of their behaviour). For complex systems the implementation involves multiple (orthogonal or successive) implementation steps which represent instances of a practical computational refinement concept. Such a system development process is driven by computational refinements and is strictly limited to explicitly formulate and justify -- besides the requirements -- only the necessary implementation steps. As a consequence, it produces as side-effect a corpus of documentation that facilitates the understandability of the final code and improves its reliability and resilience; it also enhances the maintenance process (including reuse and change of abstract programs and code) and reduces maintenance cost.

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

↑