Save
...
Fundamentals of programming
Programming paradigms
Declarative languages
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Livi
Visit profile
Cards (4)
Unlike imperative languages that describe how to solve a problem, declarative languages define what should be achieved by the program.
Declarative languages vary by the domain they are designed to work with, and they are also known as
domain-specific languages
(
DSL
).
Using
a declarative language, the programmer declares the problem to be solved,
without
having to know how the solution is actually executed.
SQL is an example of a declarative language.