首页 /研究 /An empirical study on program comprehension with reactive programming
OTHER

An empirical study on program comprehension with reactive programming

Guido Salvaneschi, Sven Amann, Sebastian Proksch, Mira Mezini

发表年份
2014
引用次数
37

摘要

Starting from the first investigations with strictly functional languages, reactive programming has been proposed as THE programming paradigm for reactive applications. The advantages of designs based on this style over designs based on the Observer design pattern have been studied for a long time. Over the years, researchers have enriched reactive languages with more powerful abstractions, embedded these abstractions into mainstream languages – including object-oriented languages – and applied reactive programming to several domains, like GUIs, animations, Web applications, robotics, and sensor networks. However, an important assumption behind this line of research – that, beside other advantages, reactive programming makes a wide class of otherwise cumbersome applications more comprehensible – has never been evaluated. In this paper, we present the design and the results of the first empirical study that evaluates the effect of reactive programming on comprehensibility compared to the traditional object-oriented style with the Observer design pattern. Results confirm the conjecture that comprehensibility is enhanced by reactive programming. In the experiment, the reactive programming group significantly outperforms the other group.

关键词

Reactive programmingComputer scienceProgramming styleFunctional reactive programmingProgramming languageInductive programmingFunctional logic programmingProgramming paradigmFifth-generation programming languageSecond-generation programming language

相关论文

查看 OTHER 分类全部论文