Library/Software Engineering/Program Structure
From Athile
< Library
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.