Pure Functions

Kind: technique

Layer: Computation Core

Record: architecture:pure-functions

Severity: recommended

Scope: function, domain logic

Canonical: Ontology

A technique for writing logic as functions whose result depends only on their arguments and which have no side effects.

Listed in Architecture principles, after Referential Transparency and before Immutability.

Requires

Reinforces

Enables

Conflicts with

In tension with

Tensions

Violated by

Refactored by

Severity

Category

Linked from