Everything2
Near Matches
Ignore Exact
Full Text
Everything2

event-driven language

created by core10k

(idea) by core10k (6.2 y) (print)   ?   (I like it!) Mon Nov 13 2000 at 21:16:10

A programming language which uses the event paradigm. Other paradigms include the procedural, object-oriented, and functional paradigms.

Events are messages that are generated, at a meta-level or internally in the system, and passed on to tokens inside the system.

Event-driven languages depend on the concept of the event. In most languages, an event is an interruption in the flow of the program. However, in event-driven languages, this property is deemphasized.

Like all programming languages, event-driven languages share properties in common with languages from other paradigms and there is overlap.



(thing) by yerricde (8.8 mon) (print)   ?   (I like it!) Mon Nov 13 2000 at 21:39:25

One example of an event-driven language is C++ with MFC. Here, there is no visible main() function or global variables; instead, a program consists of methods and fields in a so-called "document" class. The class's constructor connects window system events to methods that will be called on said events.

Program code in an event-driven language only executes when it receives an event. This means that your language must provide a periodic timer event for it to be useful in making games more useful than solitaire, minesweeper, or other similar board games; in particular, such a language without a timer event is not Tetris complete.


printable version
chaos

Tetris complete collision detection main() Fictitious programming language
MFC event-driven object-orientation event listener A case study in genetic ideation
Why is the sky blue? functional Timer philodendron
Constructor Visual Basic Gods cybernetics
Unity event handler event loop Periodic
Minesweeper field Solitaire Document
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Just another sprinkling of indeterminacy
Only a simple computer program
Other things nobody tells you about the south pole
Editor Log: August 2007
Dirt in my hair and toenails
William Gibson
Synesthesia
Euclid's algorithm
shotgun house
The end will be a sellout
Beowulf on Everything
And if your teacher is also a pervert?
How to be an improv musician
The Atrocities of Vlad III of Wallachia
New Writeups
antigravpussy
One fly amongst many(person)
sam512
Moon Base Shackleton, 1978(fiction)
Pavlovna
toy boy(person)
XWiz
tear jerker(review)
Heitah
Anarchy is Order(idea)
jessicaj
July 26, 2008(dream)
Berek
ABBA(person)
devolution
k-hole(place)
Nadine_2
The Sound Of Madness(review)
SwimmingMonkey
Conversations with Fo Fo, the Loneliest dog in Purgatory(fiction)
locke baron
lynx(thing)
Simulacron3
Reality, Dimensions and the Natural Ontology(essay)
SubSane
Making Love to a 9-Foot Woman(person)
Ouzo
Thoughts(idea)
antigravpussy
I fall silent, listening. The breadcrumbs are talking about us(person)
Everything 2 is brought to you by the letter C and The Everything Development Company