Library/Software Engineering/Program Structure
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.
Response to an action dependent on the current state. Messages can arrive in any order.
Concurrency. Message processing. Lost events. Error handling.