跳到正文
arXiv Artificial Intelligence· Thomas Bartz-Beielstein·· 18 小时前AI 评分38

不丢知识地删除代码:面向 Python 库的可再生软件

Deleting Code Without Losing Knowledge: Regenerative Software for Python Libraries

AI 导读

开源包 spotregen 实现了 Fowler 提出的七项原语,将模块的架构、意图、决策、公共契约、评估与消费者记录为机器可读文件,生成不含实现代码的“再生包”,从而支持程序被删除后重建而不丢失知识。

来源:arXiv Artificial Intelligence · arxiv.org