event-based programming

noun
UK /ɪˈvent beɪst ˈprəʊɡræmɪŋ/
US /ɪˈvent beɪst ˈproʊɡræmɪŋ/

A way of writing computer programs where the program waits for things to happen, like a mouse click, and then reacts.

The game uses event-based programming so the character jumps only when you press the space bar.


OTHER MEANINGS

2. A coding style where the flow of the program is decided by user actions or system messages rather than a fixed order.

In event-based programming, the button's click handler runs only after the user clicks it.

3. A programming approach common in graphical interfaces and games, where many possible events can trigger responses at any time.

The app's menu was built with event-based programming so each option responds to a tap.

4. A method of organizing software around events and the code that handles them, often using listeners or callbacks.

She learned event-based programming to make the robot react when its sensor detected motion.