Declarative programming is a style of building the structure and elements of computer programs that expresses the logic of a computation without describing its control flow. |
It attempts to minimize side effects by describing what the program must accomplish in terms of the problem domain, rather than describe how to accomplish it as a sequence of commands. Declarative programming often considers programs as theories of a formal logic, and computations as deductions in that logic space. |
|