What is declarative language
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
-DIFFERENCE BETWEEN COMPILED LANG Vs INTERPRETED LANG Vs DECLARATIVE LANG?
1.A compiled language is a programming language whose implementations are typically compilers and not interpreters
2.An interpreted language is a programming language whose implementations execute instructions directly and freely ,without previously compiling a program in to machine language instructions.
3.Declarative language is also called nonprocedural or very high level programming languages in which a program specifies .
-Example for declarative language ?
1.xml
2.Yaml
3.Json
-PROS And CONS OF Declarative Language?
ADVANTAGES:
1.short,efficient code.
2.can be implemented using methods not yet known at the time of programming.
3.maintainance possible independent of application development.
DISADVANTAGES:
1.sometimes hard to understand for external people.
2.based on an unfamiliar conceptual model for people.
3.hard to take characteristics of individual applications into account during programming.