# Monolithic Processing Function

> One large function that performs every processing step at once, so stages cannot be tested or reused independently.

Record: `lexicon:monolithic-processing-function`
Kind: anti-pattern
Layer: [Execution Core](https://banes-lab.com/records/layer/execution-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lexicon-monolithic-processing-function

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Error Propagation/Debugging](https://banes-lab.com/records/lexicon/error-propagation-debugging.md) and before [Stage Contracts](https://banes-lab.com/records/lexicon/stage-contracts.md).

## Category

- [Streaming / Pipeline / Dataflow Processing](https://banes-lab.com/records/lexicon-category/streaming-pipeline-dataflow-processing.md)

## Negated by

- [Pipeline Architecture](https://banes-lab.com/records/architecture/pipeline-architecture.md)

## Linked from

- [Streaming / Pipeline / Dataflow Processing](https://banes-lab.com/ontology/principles/architecture-category-streaming-pipeline-dataflow-processing.md)
