devxlogo

Event-Oriented Programming

Event-Oriented Programming

Question:
What’s the meaning of “event oriented programing?”

Answer:
Basically, it means that you program everything as a response to an event, instead of a topdown program where the ordering of the code determines the order of execution.

You code based on what happens when the user does something. Events can be mouse moves, mouse clicks or double-clicks, keystrokes, changes made in textboxes, timing based on a timer, etc.. Note that this is not an exhaustive list of events, just a small sampling.

It is quite a bit different from top-down coding, but it’s pretty easy once you make the mental jump.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist