Event Loop - Alternative Designs

Alternative Designs

This approach is in contrast to a number of other alternatives:

  • Traditionally, a program simply ran once then terminated. This type of program was very common in the early days of computing, and lacked any form of user interactivity. This is still used frequently, particularly in the form of command line driven programs. Any parameters are set up in advance and passed in one go when the program starts.
  • Menu-driven designs. These still may feature a main loop but are not usually thought of as event driven in the usual sense. Instead, the user is presented with an ever-narrowing set of options until the task they wish to carry out is the only option available. Limited interactivity through the menus is available.

Read more about this topic:  Event Loop

Famous quotes containing the words alternative and/or designs:

    A mental disease has swept the planet: banalization.... Presented with the alternative of love or a garbage disposal unit, young people of all countries have chosen the garbage disposal unit.
    Ivan Chtcheglov (b. 1934)

    Our remedies oft in ourselves do lie,
    Which we ascribe to heaven. The fated sky
    Gives us free scope, only doth backward pull
    Our slow designs when we ourselves are dull.
    William Shakespeare (1564–1616)