Ports & Adapters: death by a thousand ports
A subtle but critical detail in Ports & Adapters (Hexagonal Architecture) is how to define ports. Three common breakdowns: By entity / table One port per logical entity (OrderPort, ItemPort, UserPort, …) By use case One port per use case (ForCreatingOrderPort, ForCancellingOrderPort, …) By responsibility / conversational cluster Ports ...
world.hey.com