
Dr. Achiya Elyasaf
Know all about my research
A Study on the Comprehensibility of Behavioral Programming Variants
Behavioral Programming (BP) is a software engineering paradigm for modeling and implementing complex reactive systems. BP’s goal is to enable developers to incrementally model systems in a manner naturally aligned with their perception of the system’s requirements. This study compares two BP variants: classical, context-free BP, and the more recently proposed Context-Oriented BP (COBP). While BP advocates simplicity and modularity, COBP introduces context-aware constructs for handling context-dependent behaviors. A practical question arises: which variant leads to reactive systems that are more comprehensible for developers? Through a controlled experiment with 109 participants, we evaluated both variants across two dimensions: comprehension of execution semantics and identification of requirements from implementations. The results indicate that BP generally leads to better comprehension and higher confidence; while COBP demonstrates advantages in complex, context-dependent behaviors . These findings provide guidance for choosing between BP variants based on system complexity and context-dependent requirements.
| Publication language | English |
| Pages | 252-267 |
| Publication status | Published - 2025 |