Trigger-Action Programming is a commonly used paradigm in End-User Development interfaces, allowing users without programming experience to create new automation systems. Even if considered easy to grasp, this approach poses some challenges: non-programmers often confuse events (instantaneous occurrences) and states (prolonged occurrences), leading to critical errors in the definition of triggers. Although past research has already questioned the effectiveness of the typical if-then structure, there is a limited exploration of which specific linguistic cues might help or hinder users from distinguishing between events and states. Our study, involving 85 non-programmers, examines a broader pool of linguistic aspects, investigating (i) preferences for conjunctions and verbs when describing events and states and (ii) which conjunctions help users accurately differentiate these occurrences. Our results indicate that while participants tended to prefer temporally specific language, such as ”when” for events and ”while” for states, some of these conjunctions, like ”when”, may not support users in accurately identifying and differentiating events from states, similar to the generic ”if”. These findings underscore the role of specific language on non-programmers’ comprehension and mental representations of triggers. Designing interfaces with more easily graspable linguistic cues and mapping them at the system level may help guide non-programmer users in correctly structuring trigger-action rules.

Making trigger-action rules more comprehensible: Investigating which linguistic clues effectively guide non-programmers / Andrao, Margherita; Treccani, Barbara; Zancanaro, Massimo. - In: INTERNATIONAL JOURNAL OF HUMAN-COMPUTER STUDIES. - ISSN 1071-5819. - 205:103613(2025). [10.1016/j.ijhcs.2025.103613]

Making trigger-action rules more comprehensible: Investigating which linguistic clues effectively guide non-programmers

Andrao, Margherita
;
Treccani, Barbara;Zancanaro, Massimo
2025-01-01

Abstract

Trigger-Action Programming is a commonly used paradigm in End-User Development interfaces, allowing users without programming experience to create new automation systems. Even if considered easy to grasp, this approach poses some challenges: non-programmers often confuse events (instantaneous occurrences) and states (prolonged occurrences), leading to critical errors in the definition of triggers. Although past research has already questioned the effectiveness of the typical if-then structure, there is a limited exploration of which specific linguistic cues might help or hinder users from distinguishing between events and states. Our study, involving 85 non-programmers, examines a broader pool of linguistic aspects, investigating (i) preferences for conjunctions and verbs when describing events and states and (ii) which conjunctions help users accurately differentiate these occurrences. Our results indicate that while participants tended to prefer temporally specific language, such as ”when” for events and ”while” for states, some of these conjunctions, like ”when”, may not support users in accurately identifying and differentiating events from states, similar to the generic ”if”. These findings underscore the role of specific language on non-programmers’ comprehension and mental representations of triggers. Designing interfaces with more easily graspable linguistic cues and mapping them at the system level may help guide non-programmer users in correctly structuring trigger-action rules.
2025
103613
Settore M-PSI/01 - Psicologia Generale
Settore INF/01 - Informatica
Settore PSIC-01/A - Psicologia generale
Settore INFO-01/A - Informatica
Andrao, Margherita; Treccani, Barbara; Zancanaro, Massimo
Making trigger-action rules more comprehensible: Investigating which linguistic clues effectively guide non-programmers / Andrao, Margherita; Treccani, Barbara; Zancanaro, Massimo. - In: INTERNATIONAL JOURNAL OF HUMAN-COMPUTER STUDIES. - ISSN 1071-5819. - 205:103613(2025). [10.1016/j.ijhcs.2025.103613]
File in questo prodotto:
File Dimensione Formato  
1-s2.0-S1071581925001703-main.pdf

Solo gestori archivio

Tipologia: Versione editoriale (Publisher’s layout)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 3.26 MB
Formato Adobe PDF
3.26 MB Adobe PDF   Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11572/464230
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
  • OpenAlex ND
social impact