openskills.info
Course Preview

Declarative Programming

Declarative programming describes what the result should be rather than specifying the step-by-step procedure to compute it. SQL, HTML, CSS, configuration languages, and logic programming are declarative: you state constraints or desired outcomes and let the runtime determine execution.

itSoftware engineering

Declarative Programming

Declarative programming describes the result you want. You express facts, rules, relationships, constraints, or a desired state. An engine chooses how to produce that result.

Imperative programming describes a sequence of operations. You control more of the path from the starting state to the result. The distinction is about where control lives, not which syntax a language uses.

You already meet declarative programming in common tools. A SQL query describes a result set. A CSS rule describes which properties apply to matching elements. A Make rule connects a target to its prerequisites. A Terraform configuration describes managed infrastructure. A Kubernetes configuration describes objects that a control system should maintain.

The central trade

Continue the course

This section is part of the paid course.

See pricing to subscribe, or log in if you already have access.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources