What are the advantages of event driven programming?

Answer:
Advantages
- It allows for more interactive programs. Almost all modern GUI programs use event driven programming.
- It can be implemented using hardware interrupts, which will reduce the power used by the computer.
- It allows sensors and other hardware to easily interact with software.

Disadvantages
- For simple programs, event driven programming is often more complex and cumbersome than batch programming.
- The flow of the program is usually less logical and obvious
First answer by Timisaretard. Last edit by Timisaretard. Contributor trust: 1 [recommend contributor recommended]. Question popularity: 9 [recommend question].