It’s worth noting DDD is more of a way to frame business problems and how they relate to software, and Hexagonal (or Ports and Adapters) Architecture is more low-level, directly expressing how code should be structured for a more plug-in and modular approach.