Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Concept

Declarative Programming

Paradigm

A programming paradigm in which a program expresses the logic of a computation, what result is wanted, without explicitly describing the control flow needed to produce it, leaving the how to the underlying system; SQL and regular expressions are common declarative languages.

Facts
Core Principle
A program describes what it must accomplish in terms of the problem domain, rather than fully describing how to accomplish it. 1
Connections

Associated With

Source Imperative programming - Wikipedia
Source Reactive programming - Wikipedia

In Field

Sources
1. Declarative programming - Wikipedia
  • Lead section
    Languages that permit this style allow a developer to minimize or eliminate side effects by describing what the program must accomplish in terms of the problem domain, rather than fully describing how to accomplish it.
  • In Group: Core Programming Paradigms, Lead
    In computer science, declarative programming is a programming paradigm that expresses the logic of a computation without fully describing its control flow.
View the Source
Reactive programming - Wikipedia
Associated With: Reactive Programming, Lead section, first sentence
Quote, Associated With: Reactive Programming, Lead section, first sentence
In computing, reactive programming is a declarative programming paradigm concerned with data streams and the propagation of change.
View the Source
Imperative programming - Wikipedia
Associated With: Imperative Programming, Lead section, contrast with declarative programming
Quote, Associated With: Imperative Programming, Lead section, contrast with declarative programming
The term is often used in contrast to declarative programming
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.