Difference between revisions of "Declarative programming"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Examples)
(See also)
Line 24: Line 24:
  
 
* [[Computer program]]
 
* [[Computer program]]
 +
* [[Configuration management system]]
 +
* [[Database query language]]
 +
* [[Functional programming]]
 +
* [[Logic programming]]
 
* [[Programming language]]
 
* [[Programming language]]
 
* [[Programming paradigm]]
 
* [[Programming paradigm]]
 +
* [[Regular expression]]
 +
* [[SQL]]
 +
* [[XQuery]]
  
 
== External Links ==
 
== External Links ==
  
 
* [https://en.wikipedia.org/wiki/Declarative_programming Declarative programming] @ Wikipedia
 
* [https://en.wikipedia.org/wiki/Declarative_programming Declarative programming] @ Wikipedia

Revision as of 06:22, 3 September 2015

In computer science, declarative programming is a programming paradigm, a style of building the structure and elements of computer programs, that expresses the logic of a computation without describing its control flow.

Description

Many languages applying this style attempt to minimize or eliminate side effects by describing what the program should accomplish in terms of the problem domain, rather than describing how to go about accomplishing it as a sequence of the programming language primitives (the how being left up to the language's implementation).

This is in contrast with imperative programming, in which algorithms are implemented in terms of explicit steps.

Declarative programming often considers programs as theories of a formal logic, and computations as deductions in that logic space. Declarative programming may greatly simplify writing parallel programs.

Examples

Common declarative programming languages include:

See also

External Links