About Declarative language

Diff between Compiled Lang Vs Interpreted Lang Vs Declarative Lang::

compile lang:: A compiled language is a programming language whose implementations are typically compilers like c, c++,ALGOL,BASIC

interpreter lang::  interpreter is a computer programming  that directly executes instructions written in a programming and scripting

Declarative lang:: In computer science, declarative programming is a programming paradigm—a style of building the structure and elements of computer programs.

Example of Declarative Lang:: we have some language like sql,prolog

Pros and Cons::

pros : short,efficient code

cons : Sometimes hard to understand for external people