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 PrincipleA 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 SourceReactive programming - Wikipedia
Associated With: Reactive Programming, Lead section, first sentenceQuote, 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 programmingQuote, Associated With: Imperative Programming, Lead section, contrast with declarative programming
The term is often used in contrast to declarative programming
View the Source Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.