Declarative Style

Back to Core Principles

Describing what the program should accomplish rather than specifying step-by-step how to do it. Declarative code focuses on transformations and relationships, leaving the execution strategy to the runtime or compiler.

programming-paradigms functional declarative