Pipeline Pattern
You don't need this pattern. But sometimes it makes everything cleaner. Lets first review various scenarios we all have seen, that could take advantage of a different way to handle things. Order checkout: Validate cart → Reserve inventory → Charge payment → Create order record → Send confirmation. Each step has a…