Declarative Programming Language: Difference between revisions

From GM-RKB
Jump to navigation Jump to search
m (Text replacement - "> ↵" to "> ")
m (Text replacement - "<P> " to "<P> ")
Line 21: Line 21:
=== 2013 ===
=== 2013 ===
* (Wikipedia, 2013) ⇒ http://en.wikipedia.org/wiki/Declarative_programming
* (Wikipedia, 2013) ⇒ http://en.wikipedia.org/wiki/Declarative_programming
** In [[computer science]], '''declarative programming</B> is a [[programming paradigm]] that expresses the logic of a [[computation]] without describing its [[control flow]].<ref>{{citation|last=Lloyd|first=J.W.|title=Practical Advantages of Declarative Programming}}</ref> Many languages applying this style attempt to minimize or eliminate [[side effect (computer science)|side effects]] by describing ''what'' the program should accomplish, rather than describing ''how'' to go about accomplishing it<ref>[http://foldoc.org/index.cgi?query=declarative+language Declarative language] in The Free On-line Dictionary of Computing, Editor Denis Howe.</ref> (the ''how'' is left up to the language's implementation). This is in contrast with [[imperative programming]], in which [[algorithm]]s are implemented in terms of explicit steps.        <P>               Declarative programming often considers [[program (machine)|program]]s as theories of a [[formal logic]], and computations as deductions in that logic space. Declarative programming has become of particular interest recently, as it may greatly simplify writing [[parallel computing|parallel programs]].<ref>http://www.cse.unsw.edu.au/~pls/damp09/</ref>        <P>        Common declarative languages include those of [[database query language]]s (e.g., SQL, XQuery), [[regular expression]]s, [[logic programming]], [[functional programming]], and [[configuration management]] systems.
** In [[computer science]], '''declarative programming</B> is a [[programming paradigm]] that expresses the logic of a [[computation]] without describing its [[control flow]].<ref>{{citation|last=Lloyd|first=J.W.|title=Practical Advantages of Declarative Programming}}</ref> Many languages applying this style attempt to minimize or eliminate [[side effect (computer science)|side effects]] by describing ''what'' the program should accomplish, rather than describing ''how'' to go about accomplishing it<ref>[http://foldoc.org/index.cgi?query=declarative+language Declarative language] in The Free On-line Dictionary of Computing, Editor Denis Howe.</ref> (the ''how'' is left up to the language's implementation). This is in contrast with [[imperative programming]], in which [[algorithm]]s are implemented in terms of explicit steps.        <P>   Declarative programming often considers [[program (machine)|program]]s as theories of a [[formal logic]], and computations as deductions in that logic space. Declarative programming has become of particular interest recently, as it may greatly simplify writing [[parallel computing|parallel programs]].<ref>http://www.cse.unsw.edu.au/~pls/damp09/</ref>        <P>        Common declarative languages include those of [[database query language]]s (e.g., SQL, XQuery), [[regular expression]]s, [[logic programming]], [[functional programming]], and [[configuration management]] systems.


<references/>
<references/>

Revision as of 18:19, 2 June 2024

A Declarative Programming Language is a programming language that can express declarative expressions independently of the source code order of evaluation.



References

2013

  1. Template:Citation
  2. Declarative language in The Free On-line Dictionary of Computing, Editor Denis Howe.
  3. http://www.cse.unsw.edu.au/~pls/damp09/