⇩ Markdown

coding concept -- the happy zone

^ coding concept -- the happy zone


J B Rainsberger's name for the internal ring in hexagonal-architecture or clean-architecture. Consists only of state-based tests or communication and contract tests (isolated).

Seems similar to what Avdi Grimm talks about in book-confident-ruby. When you "protect the borders", this is what's in the inside.

The happy zone is great, because it isn't littered with guard clauses and assertions to protect against numerous edge cases. It is very straightforward, and easy to read.