by UK-Al05 · 3y ago · 0 comments
Most of this stuff is just developing against interfaces, and having that interface owned by the business code.
All infrastructure code implements those interfaces. Business code code doesn't get polluted by technical infrastructure stuff. It's easy swap out databases, etc
Always a good idea.
Functional core, imperative shell is also a modern term for this.
You don't need hexagonal architecture to test the code api.
Layered architecture will do the job!