Original: Event-driven programming can also be defined as an application architecture technique in which the application has a main loop which is clearly divided down to two sections : the first is event selection ( or event detection ) , and the second is event handling .
Simplified: Event-driven programs can be written using any of the computer programming languages , although the task is easier in languages that provide high-level of abstractions to support it .