Event-Driven Programming
Event-driven programming makes a system reactive rather than proactive. In an event-driven model the program sits idle between events and executes predefined tasks only when a specific trigger occurs. Event-driven programming is a paradigm…
1 sources - 5 claims
Event-driven programming makes a system reactive rather than proactive. In an event-driven model the program sits idle between events and executes predefined tasks only when a specific trigger occurs. Event-driven programming is a paradigm in which program flow is determined by events rather than by a fixed sequential execution path. Event-driven programming is particularly valuable when the timing of inputs is unpredictable and the application must remain responsive. Event-driven programming is well-suited to applications that must wait on external input before taking action.