Global Information Lookup Global Information

Declarative programming information


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.[1]

Many languages that apply this style attempt to minimize or eliminate side effects by describing what the program must accomplish in terms of the problem domain, rather than describing how to accomplish it as a sequence of the programming language primitives[2] (the how being left up to the language's implementation). This is in contrast with imperative programming, which implements algorithms in explicit steps.[3][4]

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.[5]

Common declarative languages include those of database query languages (e.g., SQL, XQuery), regular expressions, logic programming (e.g. Prolog, Datalog, answer set programming), functional programming, configuration management, and algebraic modeling systems.

  1. ^ Lloyd, J.W., Practical Advantages of Declarative Programming
  2. ^ "declarative language". FOLDOC. 17 May 2004. Retrieved 7 September 2023.
  3. ^ Sebesta, Robert (2016). Concepts of programming languages. Boston: Pearson. ISBN 978-0-13-394302-3. OCLC 896687896.
  4. ^ "Imperative programming: Overview of the oldest programming paradigm". IONOS Digital Guide. 2021-05-21. Retrieved 2023-05-23.
  5. ^ "DAMP 2009: Workshop on Declarative Aspects of Multicore Programming". Cse.unsw.edu.au. 20 January 2009. Archived from the original on 13 September 2013. Retrieved 15 August 2013.

and 20 Related for: Declarative programming information

Request time (Page generated in 0.8183 seconds.)

Declarative programming

Last Update:

computer science, declarative programming is a programming paradigm—a style of building the structure and elements of computer programs—that expresses the...

Word Count : 2307

Programming paradigm

Last Update:

a declarative language is the fourth generation language SQL, and the family of functional languages and logic programming. Functional programming is...

Word Count : 2322

Declarative

Last Update:

speak about Declarative memory, one of two types of long term human memory Declarative programming, a computer programming paradigm Declarative sentence...

Word Count : 91

List of programming languages by type

Last Update:

declarative programming and imperative programming) Curry Cypher Datalog Distributed Application Specification Language (DASL) (combine declarative programming...

Word Count : 7022

Procedural programming

Last Update:

programming paradigms Declarative programming Functional programming (contrast) Imperative programming Logic programming Object-oriented programming Programming...

Word Count : 985

Functional programming

Last Update:

functional programming is a programming paradigm where programs are constructed by applying and composing functions. It is a declarative programming paradigm...

Word Count : 8445

Imperative programming

Last Update:

contrast to declarative programming, which focuses on what the program should accomplish without specifying all the details of how the program should achieve...

Word Count : 3585

Comparison of programming paradigms

Last Update:

approaches to programming: Imperative programming – focuses on how to execute, defines control flow as statements that change a program state. Declarative programming –...

Word Count : 2594

Reactive programming

Last Update:

In computing, reactive programming is a declarative programming paradigm concerned with data streams and the propagation of change. With this paradigm...

Word Count : 3443

Prolog

Last Update:

and unlike many other programming languages, Prolog is intended primarily as a declarative programming language: the program is a set of facts and rules...

Word Count : 7988

ABSET

Last Update:

ABSET was an early declarative programming language from the University of Aberdeen. ABSYS "ABSET: A Programming Language Based on Sets", E.W. Elcock...

Word Count : 38

Formula calculator

Last Update:

performed. Declarative solutions are easier to understand than imperative solutions, and so there has been a long-term trend from imperative to declarative methods...

Word Count : 816

AppSheet

Last Update:

efficiency, scalability, and security that would be available through a declarative model. Data is stored on a user's device and the user's existing cloud-based...

Word Count : 921

Answer set programming

Last Update:

Answer set programming (ASP) is a form of declarative programming oriented towards difficult (primarily NP-hard) search problems. It is based on the stable...

Word Count : 2839

SQL

Last Update:

a relational database. SQL is a set-based, declarative programming language, not an imperative programming language like C or BASIC. However, extensions...

Word Count : 3754

Constraint programming

Last Update:

Constraint programming takes its root from and can be expressed in the form of constraint logic programming, which embeds constraints into a logic program. This...

Word Count : 2309

ArkTS

Last Update:

TypeScript (eTS) built for HarmonyOS development as a shift towards Declarative programming. ArkTS compiles to machine code via it's Ahead-of-time compilation...

Word Count : 1818

Absys

Last Update:

Absys was an early declarative programming language from the University of Aberdeen. It anticipated a number of features of Prolog such as negation as...

Word Count : 134

International Conference on Functional Programming

Last Update:

Conference on Principles and Practice of Declarative Programming TFP: Symposium on Trends in Functional Programming TLCA: International Conference on Typed...

Word Count : 299

GOAL agent programming language

Last Update:

provides an intuitive programming framework based on common sense or practical reasoning. The main features of GOAL include: Declarative beliefs: Agents use...

Word Count : 1524

PDF Search Engine © AllGlobal.net