Hasselt: Rapid Prototyping of Multimodal Interactions with Composite Event-Driven Programming

Fredy Cuenca, J. V. D. Bergh, K. Luyten, K. Coninx
{"title":"Hasselt: Rapid Prototyping of Multimodal Interactions with Composite Event-Driven Programming","authors":"Fredy Cuenca, J. V. D. Bergh, K. Luyten, K. Coninx","doi":"10.4018/IJPOP.2016010102","DOIUrl":null,"url":null,"abstract":"Implementing multimodal interactions with event-driven languages results in a 'callback soup', a source code littered with a multitude of flags that have to be maintained in a self-consistent manner and across different event handlers. Prototyping multimodal interactions adds to the complexity and error sensitivity, since the program code has to be refined iteratively as developers explore different possibilities and solutions. The authors present a declarative language for rapid prototyping multimodal interactions: Hasselt permits declaring composite events, sets of events that are logically related because of the interaction they support, that can be easily bound to dedicated event handlers for separate interactions. The authors' approach allows the description of multimodal interactions at a higher level of abstraction than event languages, which saves developers from dealing with the typical 'callback soup' thereby resulting in a gain in programming efficiency and a reduction in errors when writing event handling code. They compared Hasselt with using a traditional programming language with strong support for events in a study with 12 participants each having a solid background in software development. When performing equivalent modifications to a multimodal interaction, the use of Hasselt leads to higher completion rates, lower completion times, and less code testing than when using a mainstream event-driven language.","PeriodicalId":309154,"journal":{"name":"Int. J. People Oriented Program.","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Int. J. People Oriented Program.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4018/IJPOP.2016010102","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

Abstract

Implementing multimodal interactions with event-driven languages results in a 'callback soup', a source code littered with a multitude of flags that have to be maintained in a self-consistent manner and across different event handlers. Prototyping multimodal interactions adds to the complexity and error sensitivity, since the program code has to be refined iteratively as developers explore different possibilities and solutions. The authors present a declarative language for rapid prototyping multimodal interactions: Hasselt permits declaring composite events, sets of events that are logically related because of the interaction they support, that can be easily bound to dedicated event handlers for separate interactions. The authors' approach allows the description of multimodal interactions at a higher level of abstraction than event languages, which saves developers from dealing with the typical 'callback soup' thereby resulting in a gain in programming efficiency and a reduction in errors when writing event handling code. They compared Hasselt with using a traditional programming language with strong support for events in a study with 12 participants each having a solid background in software development. When performing equivalent modifications to a multimodal interaction, the use of Hasselt leads to higher completion rates, lower completion times, and less code testing than when using a mainstream event-driven language.
用复合事件驱动编程的多模态交互的快速原型
用事件驱动的语言实现多模式交互会导致“回调汤”,源代码中充斥着大量的标志,必须以自一致的方式和跨不同的事件处理程序进行维护。多模态交互的原型设计增加了复杂性和错误敏感性,因为随着开发人员探索不同的可能性和解决方案,程序代码必须迭代地改进。作者提出了一种用于快速原型化多模态交互的声明性语言:Hasselt允许声明复合事件,由于它们支持的交互而在逻辑上相关的事件集,可以很容易地绑定到用于单独交互的专用事件处理程序。作者的方法允许在比事件语言更高的抽象层次上描述多模态交互,这使开发人员不必处理典型的“回调汤”,从而在编写事件处理代码时获得编程效率并减少错误。在一项研究中,他们将Hasselt与使用传统编程语言进行了比较,该语言对事件有强大的支持,共有12名参与者,每名参与者都有扎实的软件开发背景。当对多模态交互执行相同的修改时,与使用主流事件驱动语言相比,使用Hasselt可以获得更高的完成率、更短的完成时间和更少的代码测试。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信