Component-based development is one of the core principles behind modern software engineering practices. Understanding of causal relationships between components of a software system can yield significant benefits to developers. Yet modern software design approaches make it difficult to track and discover such relationships at system scale, which leads to growing intellectual debt. In this paper we consider an alternative approach to software design, flow-based programming (FBP), and draw the attention of the community to the connection between dataflow graphs produced by FBP and structural causal models. With expository examples we show how this connection can be leveraged to improve day-to-day tasks in software projects, including fault localisation, business analysis and experimentation.
翻译:基于组成部分的发展是现代软件工程做法的核心原则之一。了解软件系统各组成部分之间的因果关系可以为开发者带来重大利益。然而,现代软件设计方法使得难以在系统规模上追踪和发现这种关系,从而导致知识债务增加。在本文件中,我们考虑了软件设计、流动编程(FBP)的替代方法,并提请社区注意FBP制作的数据流图与结构性因果模型之间的联系。我们以实例说明如何利用这种联系来改进软件项目的日常任务,包括错误定位、业务分析和实验。</s>