A programming paradigm in which a program expresses the logic of a computation, what result is wanted, without explicitly describing the control flow needed to produce it, leaving the how to the underlying system; SQL and regular expressions are common declarative languages.
Facts
Core PrincipleA program describes what it must accomplish in terms of the problem domain, rather than fully describing how to accomplish it. 1 Connections
Sources
1. Declarative programming - Wikipedia
Lead sectionQuote, Lead section
Languages that permit this style allow a developer to minimize or eliminate side effects by describing what the program must accomplish in terms of the problem domain, rather than fully describing how to accomplish it.
View the Source Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.