What programming languages ​​are declarative??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What programming languages ​​are declarative???

Language declarative

20th Feb 2020, 5:15 AM
Cmurio
Cmurio - avatar
4 Answers
+ 1
Oma Falk Haskell what kind of language is it?
20th Feb 2020, 5:19 AM
Cmurio
Cmurio - avatar
+ 3
Declarative style means describing the logic of the computation, without specifying the control flow, as opposed to imperative programming. Functional languages, such as Haskell, can also be fully or partially declarative. You can also write declarative code in Javascript, eg. with React. Other examples are SQL and regular expressions. https://en.m.wikipedia.org/wiki/Declarative_programming
20th Feb 2020, 6:00 AM
Tibor Santa
Tibor Santa - avatar
+ 1
prolog and lisp are declarative.
20th Feb 2020, 5:17 AM
Oma Falk
Oma Falk - avatar
0
as I remember Haskell is functional.
20th Feb 2020, 5:40 AM
Oma Falk
Oma Falk - avatar