jargon

Design patterns·Functional ideas that went mainstream

all the decisions are in functions with no I/O, and a thin outer layer does the reading and writing around them.

Functional core, imperative shell

Also calledfunctional core imperative shell, imperative shell

An arrangement where the interesting logic is pure and testable and a thin imperative layer performs the effects at the edges. It is the practical, framework-free version of the same idea hexagonal architecture states with ports and adapters, and it gets most of the benefit for a fraction of the machinery. The characteristic sign it is working is a test suite with almost no mocks in it.

Commonly confused with