Library/Software Engineering/Program Structure

From Athile

< Library
Revision as of 21:05, 18 September 2011 by Arthur (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to:navigation, search

Sequential Program

Essentially just an algorithm. Example: directions from location A to B. Linear and sequential.

Sequential with Resources

Example: a recipe. Sequential algorithm but requires acquisition and use of resources and produces new resources as an output.

State Machine

Response to an action dependent on the current state. Messages can arrive in any order.

Concurrency. Message processing. Lost events. Error handling.

Navigation
Toolbox