Declarative programming

From Rosetta Code
Revision as of 17:44, 21 July 2008 by rosettacode>Dmitry-kazakov (Syntax, links)

Declarative programming is a programming model. See main article imperative programming.

The major areas of declarative programming application are:

  • Specifications and contracts, in the programming languages which support separation of specifications and implementations;
  • Types declarations and types inference in typed languages;
  • Objects declarations in object-oriented programming languages, as well as in typed languages in general;
  • Many domain-specific languages.

Among the latter, according to the domain: