Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

pure function

a function that returns the same result for the same inputs and does not cause observable side effects.

A little more detail

A pure calculation does not update shared state, read a changing clock, or send a request. This makes a small input/output test easier to repeat. Applications still need effects; keep the boundary between calculation and effect understandable.

See it in practice

These lessons pair the idea with examples you can change and run.